From 14394ef05bc1230b7602fba5e6af88565968949f Mon Sep 17 00:00:00 2001 From: "github@kiekerjan.isdronken.nl" Date: Wed, 19 May 2021 22:01:25 +0200 Subject: [PATCH] add missing . in nameserver definition --- management/dns_update.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/management/dns_update.py b/management/dns_update.py index 57e10588..381af718 100755 --- a/management/dns_update.py +++ b/management/dns_update.py @@ -509,7 +509,7 @@ $TTL {defttl} ; default time to live p_expire = "14d" p_negttl = "12h" - primary_dns = "ns1" + env["PRIMARY_HOSTNAME"] + primary_dns = "ns1." + env["PRIMARY_HOSTNAME"] # Shorten dns ttl if file exists. Use before moving domains, changing secondary dns servers etc if os.path.exists("/etc/forceshortdnsttl"):