I did that using quantum-dhcp-agent, you just need to set the nameserver for the network if i'm not wrong. Then during the dhcp request the VM get the dns also. 2013/5/15 Shyam Goud <shyam.todeti at oneconvergence.com> > All, > > I am trying to set VM's default dns_server to 8.8.8.8 in my openstack > configs. > > I am using Quantum + Grizzly > > Added these entries > in /etc/quantum/dhcp_agent.ini > > dnsmasq_dns_server=8.8.8.8 > source: http://docs.openstack.org/**trunk/openstack-network/admin/** > content/dhcp_agent_ini.html<http://docs.openstack.org/trunk/openstack-network/admin/content/dhcp_agent_ini.html> > > in /etc/quantum/quantum.conf > > # Maximum number of DNS nameservers per subnet > > max_dns_nameservers = 5 > > But still its not set. > > root at vm1:~# cat /etc/resolv.conf > # Dynamic resolv.conf(5) file for glibc resolver(3) generated by > resolvconf(8) > # DO NOT EDIT THIS FILE BY HAND -- YOUR CHANGES WILL BE OVERWRITTEN > nameserver 172.16.0.2 > search openstacklocal > root at vm1:~# > > Please let me know is there any way to achieve this ? (I don't want to > login to every VM and set it manually in /etc/resolv.conf) > > Thanks, > Shyam. > > ______________________________**_________________ > OpenStack-operators mailing list > OpenStack-operators at lists.**openstack.org<OpenStack-operators at lists.openstack.org> > http://lists.openstack.org/**cgi-bin/mailman/listinfo/** > openstack-operators<http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-operators> > -- Pavlik Salles Juan José -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.openstack.org/pipermail/openstack-operators/attachments/20130515/a25fecc5/attachment.html>