mirror of
https://github.com/YunoHost/yunohost.git
synced 2024-09-03 20:06:10 +02:00
autodns: Disable ttl setting for now because meh
This commit is contained in:
parent
68f2eea0ae
commit
5812c8f1ae
2 changed files with 8 additions and 7 deletions
|
@ -42,9 +42,9 @@ i18n = "domain_config"
|
||||||
|
|
||||||
# This part is automatically generated in DomainConfigPanel
|
# This part is automatically generated in DomainConfigPanel
|
||||||
|
|
||||||
[dns.advanced]
|
# [dns.advanced]
|
||||||
|
#
|
||||||
[dns.advanced.ttl]
|
# [dns.advanced.ttl]
|
||||||
type = "number"
|
# type = "number"
|
||||||
min = 0
|
# min = 0
|
||||||
default = 3600
|
# default = 3600
|
||||||
|
|
|
@ -176,7 +176,8 @@ def _build_dns_conf(base_domain):
|
||||||
basename = domain.replace(f"{base_dns_zone}", "").rstrip(".") or "@"
|
basename = domain.replace(f"{base_dns_zone}", "").rstrip(".") or "@"
|
||||||
suffix = f".{basename}" if basename != "@" else ""
|
suffix = f".{basename}" if basename != "@" else ""
|
||||||
|
|
||||||
ttl = settings["ttl"]
|
#ttl = settings["ttl"]
|
||||||
|
ttl = "3600"
|
||||||
|
|
||||||
###########################
|
###########################
|
||||||
# Basic ipv4/ipv6 records #
|
# Basic ipv4/ipv6 records #
|
||||||
|
|
Loading…
Add table
Reference in a new issue