<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
</head>
<body text="#000000" bgcolor="#FFFFFF">
<p>Hi All,</p>
<p>We have a bit of a weird issue with resolv.conf for instances. We
have changed our subnets in neutron to use googles nameservers
which is fine. However it seems that when instances are launched
they are still getting the old nameserver settings as well as the
new ones. If I look at the metadata networking service it returns
the old nameservers as well as the new ones below:</p>
<p>curl -i
<a class="moz-txt-link-freetext" href="http://169.254.169.254/openstack/2017-02-22/network_data.json">http://169.254.169.254/openstack/2017-02-22/network_data.json</a><br>
HTTP/1.1 200 OK<br>
Content-Type: text/plain; charset=UTF-8<br>
Content-Length: 753<br>
Date: Thu, 29 Aug 2019 09:40:03 GMT<br>
<br>
{"services": [{"type": "dns", "address": "178.18.121.70"},
{"type": "dns", "address": "178.18.121.78"}, {"type": "dns",
"address": "8.8.8.8"}, {"type": "dns", "address": "8.8.4.4"}]</p>
<p>In our neutron dhcp-agent.ini file we have the correct dnsmasq
nameservers set:</p>
<p>dnsmasq_dns_servers = 8.8.8.8, 8.8.4.4</p>
<p>Are there any database tables I can change or clear up to ensure
the old nameservers no longer get set? I can't seem to find any
reference in our config any more of the old nameservers, so I
assume one of the services is still setting them but I can't
figure out what is.</p>
<p>Any help will be much appreciated.</p>
<p>Many thanks,<br>
</p>
<div class="moz-signature">-- <br>
<div><br>
</div>
<div>
<div style="font-family: helvetica, Arial; font-size: 13px;"><font
face="Lucida Grande, Verdana, Arial, sans-serif"
color="#A8D8FF"><span style="font-size: 11px; line-height:
15px; float: left; margin-right: 10px;"><img
src="https://www.civo.com/images/email-logo.jpg"
style="width: 70px; color: #a8d8ff; font-family: 'Lucida
Grande', Verdana, Arial, sans-serif; font-size: 11px;
line-height: 15px; float: left; margin-top: 0px;
margin-right: 10px"></span></font>
<div style="margin-left: 90px; line-height: 15px; color:
rgb(109, 190, 255); margin-bottom: 5px;"><span
style="font-family: Hind, "Lucida Grande",
Verdana, Arial, sans-serif; font-size: 18px; color:
rgb(35, 157, 255);">Grant Morley</span> <font face="Hind,
Lucida Grande, Verdana, Arial, sans-serif"><span
style="font-size: 15px;"></span></font></div>
<div style="margin-left: 90px; line-height: 15px; color:
#888888; margin-bottom: 10px;"><font face="Hind, Lucida
Grande, Verdana, Arial, sans-serif"><span
style="font-size: 15px;">Cloud Lead, Civo Ltd</span></font></div>
<div style="font-family: Hind, helvetica, arial; margin-left:
90px;"><a href="https://www.civo.com/" style="color: rgb(35,
157, 255); font-family: Hind, "Lucida Grande",
Verdana, Arial, sans-serif; line-height: 15px;
text-decoration: none;">www.civo.com</a><font
color="#888888"> | </font><a
href="https://www.civo.com/signup" style="color: rgb(35,
157, 255); font-family: Hind, "Lucida Grande",
Verdana, Arial, sans-serif; line-height: 15px;
margin-right: 6px; text-decoration: none;">Signup for an
account!</a></div>
</div>
</div>
</div>
</body>
</html>