From 9cb5561e7706059a3ff11bce27ad36498c714103 Mon Sep 17 00:00:00 2001 From: Joshua Boniface Date: Sun, 8 Dec 2019 23:05:32 -0500 Subject: [PATCH] Move default NS record to upstream_domain --- node-daemon/pvcd/DNSAggregatorInstance.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/node-daemon/pvcd/DNSAggregatorInstance.py b/node-daemon/pvcd/DNSAggregatorInstance.py index 585ba3ad..868c7dc9 100644 --- a/node-daemon/pvcd/DNSAggregatorInstance.py +++ b/node-daemon/pvcd/DNSAggregatorInstance.py @@ -219,10 +219,10 @@ class DNSNetworkInstance(object): INSERT INTO records (domain_id, name, content, type, ttl, prio) VALUES (%s, %s, %s, %s, %s, %s) """, - (domain_id, network_domain, 'nsX.{d} root.{d} 1 10800 1800 86400 86400'.format(d=self.config['cluster_domain']), 'SOA', 86400, 0) + (domain_id, network_domain, 'nsX.{d} root.{d} 1 10800 1800 86400 86400'.format(d=self.config['upstream_domain']), 'SOA', 86400, 0) ) - ns_servers = ['pvc-ns.{}'.format(self.config['cluster_domain'])] + ns_servers = ['pvc-ns.{}'.format(self.config['upstream_domain'])] for ns_server in ns_servers: sql_curs.execute( """