Remove obsolete pvc-nsX and add pvc-ns name

Should point towards the floating IP.
This commit is contained in:
Joshua Boniface 2019-12-08 20:20:20 -05:00
parent f442ac6ad9
commit 3471f4e57a
1 changed files with 1 additions and 1 deletions

View File

@ -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(
"""