From 3471f4e57a9a766d5f81f617559df7e902a7de5e Mon Sep 17 00:00:00 2001 From: Joshua Boniface Date: Sun, 8 Dec 2019 20:20:20 -0500 Subject: [PATCH] Remove obsolete pvc-nsX and add pvc-ns name Should point towards the floating IP. --- node-daemon/pvcd/DNSAggregatorInstance.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/node-daemon/pvcd/DNSAggregatorInstance.py b/node-daemon/pvcd/DNSAggregatorInstance.py index 65cf29d3..585ba3ad 100644 --- a/node-daemon/pvcd/DNSAggregatorInstance.py +++ b/node-daemon/pvcd/DNSAggregatorInstance.py @@ -222,7 +222,7 @@ class DNSNetworkInstance(object): (domain_id, network_domain, 'nsX.{d} root.{d} 1 10800 1800 86400 86400'.format(d=self.config['cluster_domain']), 'SOA', 86400, 0) ) - ns_servers = [network_gateway, 'pvc-ns1.{}'.format(self.config['cluster_domain']), 'pvc-ns2.{}'.format(self.config['cluster_domain'])] + ns_servers = ['pvc-ns.{}'.format(self.config['cluster_domain'])] for ns_server in ns_servers: sql_curs.execute( """