Hemanth ,<br><br>This would be option you would be specifying in /etc/nova/dnsmasq.conf<br>         dhcp-option=6,dns-server<br>Then just kill the dnsmasq process and restart the nova-network service , <br>even sometimes , you need to restart the vms, on just login into those vms and run dhclient -v .<br>
<br><div class="gmail_quote">On Mon, Dec 17, 2012 at 10:55 AM, HemanthRao Doddikindi <span dir="ltr"><<a href="mailto:hemanthrao_doddikind@persistent.co.in" target="_blank">hemanthrao_doddikind@persistent.co.in</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">





<div link="blue" vlink="purple" lang="EN-US">
<div>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">Thanks Ritesh.
<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d"><u></u> <u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">I tried to set the “dnsmasq” flag but it is not getting reflected in the instances. I am able to specify desired dns for the instances using an flag called
 “dhcp-option=option:dns-server,<dnsserver>” in “/etc/dnsmasq-nova.conf”. To use this config file with dnsmasq, you need to add “--dnsmasq_config_file=/etc/dnsmasq-nova.conf” in nova.conf.<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d"><u></u> <u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">Regards,<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">Hemanth Rao D<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d"><u></u> <u></u></span></p>
<p class="MsoNormal"><b><span style="font-size:11.0pt;font-family:"Calibri","sans-serif"">From:</span></b><span style="font-size:11.0pt;font-family:"Calibri","sans-serif""> Ritesh Nanda [mailto:<a href="mailto:riteshnanda09@gmail.com" target="_blank">riteshnanda09@gmail.com</a>]
<br>
<b>Sent:</b> Monday, December 10, 2012 12:26 AM<br>
<b>To:</b> HemanthRao Doddikindi<br>
<b>Cc:</b> <a href="mailto:openstack@lists.launchpad.net" target="_blank">openstack@lists.launchpad.net</a><br>
<b>Subject:</b> Re: [Openstack] Need help in deploying Nova on Vmware ESXi server<u></u><u></u></span></p><div><div class="h5">
<p class="MsoNormal"><u></u> <u></u></p>
<div>
<p class="MsoNormal" style="margin-bottom:12.0pt">You can use the dnsmasq option to specify the dns for each network ,<br>
declare a flag in nova.conf specifying dnsmasq config file.<br>
dnsmasq option you can get from man page of dnsmasq.<u></u><u></u></p>
<div>
<p class="MsoNormal">On Mon, Dec 3, 2012 at 7:52 PM, HemanthRao Doddikindi <<a href="mailto:hemanthrao_doddikind@persistent.co.in" target="_blank">hemanthrao_doddikind@persistent.co.in</a>> wrote:<u></u><u></u></p>

<blockquote style="border:none;border-left:solid #cccccc 1.0pt;padding:0in 0in 0in 6.0pt;margin-left:4.8pt;margin-right:0in">
<div>
<div>
<p><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif"">Hi All,</span><u></u><u></u></p>
<p><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif""> </span><u></u><u></u></p>
<p><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif"">I have a requirement of using my coroporate DNS for nameserver in /etc/resolv.conf. I’m working on Essex 2012.1 branch with ESX as hypervisor I found an flag called “--dns_server” and set it
 to the desired value. And also created the network by setting the options “—dns1 and –dns2” with the values required. But still the /etc/resolv.conf is getting the gateway as nameserver. Have anybody worked with such requirement.</span><u></u><u></u></p>

<p><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif""> </span><u></u><u></u></p>
<p><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif"">Regards,</span><u></u><u></u></p>
<p><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif"">Hemanth Rao D  </span><u></u><u></u></p>
<p><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif""> </span><u></u><u></u></p>
</div>
<p>DISCLAIMER ========== This e-mail may contain privileged and confidential information which is the property of Persistent Systems Ltd. It is intended only for the use of the individual or entity to which it is addressed. If you are not the intended recipient,
 you are not authorized to read, retain, copy, print, distribute or use this message. If you have received this communication in error, please notify the sender and delete all copies of this message. Persistent Systems Ltd. does not accept any liability for
 virus infected mails.<u></u><u></u></p>
</div>
<p class="MsoNormal" style="margin-bottom:12.0pt"><br>
_______________________________________________<br>
Mailing list: <a href="https://launchpad.net/~openstack" target="_blank">https://launchpad.net/~openstack</a><br>
Post to     : <a href="mailto:openstack@lists.launchpad.net" target="_blank">openstack@lists.launchpad.net</a><br>
Unsubscribe : <a href="https://launchpad.net/~openstack" target="_blank">https://launchpad.net/~openstack</a><br>
More help   : <a href="https://help.launchpad.net/ListHelp" target="_blank">https://help.launchpad.net/ListHelp</a><u></u><u></u></p>
</blockquote>
</div>
<p class="MsoNormal"><br>
<br clear="all">
<br>
-- <u></u><u></u></p>
<p style="margin:0in;margin-bottom:.0001pt"><b><span style="font-size:10.0pt;font-family:"Arial","sans-serif";color:#000099"> With Regards 
</span></b><span style="color:#000099"><u></u><u></u></span></p>
<p style="margin:0in;margin-bottom:.0001pt"><b><span style="font-size:10.0pt;font-family:"Arial","sans-serif";color:#000099"> Ritesh Nanda</span></b><span style="color:#000099"><u></u><u></u></span></p>

<p style="margin:0in;margin-bottom:.0001pt"><span style="color:#333333"><u></u> <u></u></span></p>
<p style="margin-right:0in;margin-bottom:12.0pt;margin-left:0in">
<u></u> <u></u></p>
<p class="MsoNormal"><u></u> <u></u></p>
</div>
</div></div></div><div><div class="h5">
<p>DISCLAIMER
==========
This e-mail may contain privileged and confidential information which is the property of Persistent Systems Ltd. It is intended only for the use of the individual or entity to which it is addressed. If you are not the intended recipient, you are not authorized to read, retain, copy, print, distribute or use this message. If you have received this communication in error, please notify the sender and delete all copies of this message. Persistent Systems Ltd. does not accept any liability for virus infected mails.</p>

</div></div></div>

</blockquote></div><br><br clear="all"><br>-- <br><p style="margin:0cm 0cm 0pt;color:rgb(0,0,153)"><b><span style="font-size:10pt;font-family:Arial"> With Regards  <br></span></b></p><p style="margin:0cm 0cm 0pt;color:rgb(0,0,153)">
<b><span style="font-size:10pt;font-family:Arial"> Ritesh Nanda<br></span></b></p><p style="margin:0cm 0cm 0pt;color:rgb(0,0,153)"></p><p style="margin:0cm 0cm 0pt;color:rgb(51,51,51)"><span style="color:rgb(0,0,153)"></span><span style="font-size:9pt;color:rgb(51,51,51);font-family:Arial"><span style="color:rgb(51,51,255)"><b><span style="color:rgb(0,0,153)"></span></b></span></span><span style="font-size:9pt;color:rgb(51,51,51);font-family:Arial"><span style="color:rgb(51,51,255)"><b><span style="color:rgb(0,0,153)"><br>
</span></b></span></span></p><a href="http://www.ericsson.com/" target="_blank"></a><p style="margin:0cm 0cm 0pt"><span style="font-size:9pt;font-family:Arial"><br><br></span></p><br>