openstack team mailing list archive
-
openstack team
-
Mailing list archive
-
Message #04646
Re: dns issue?
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
On 10/10/2011 05:01 PM, Jason Kölker wrote:
>> nameserver 10.0.1.1
>>
>> How does nova assign the nameserver to the VMs? Can I change it someone
>> so it has 8.8.4.4?
>
>
> I assume you are using Vlan or Flatdhcp? If so add --dns-server=8.8.4.4
> to your flags file. The network managers that use dnsmasq do not respect
> the db entries.
>
Yes, I am using FlatDCHP. I am still using cactus release btw.
Unfortunately, this fix didn't work.
# cat /etc/nova/nova.conf|grep dns
- --dns-server=8.8.4.4
I restarted the services. Also deleted the network and created it again
just in case.
root@i-0000049d:~# ping google.com
ping: unknown host google.com
root@i-0000049d:~# ping 72.14.204.147
PING 72.14.204.147 (72.14.204.147) 56(84) bytes of data.
64 bytes from 72.14.204.147: icmp_req=1 ttl=54 time=33.0 ms
64 bytes from 72.14.204.147: icmp_req=2 ttl=54 time=33.7 ms
^C
- --- 72.14.204.147 ping statistics ---
2 packets transmitted, 2 received, 0% packet loss, time 1001ms
rtt min/avg/max/mdev = 33.079/33.394/33.709/0.315 ms
root@i-0000049d:~# cat /etc/resolv.conf
domain novalocal
search novalocal
nameserver 10.0.1.1
# ps -aef|grep dnsmasq
nobody 9850 1 0 14:32 ? 00:00:00 dnsmasq --strict-order
- --bind-interfaces --conf-file= --domain=novalocal
- --pid-file=/local/nova/networks/nova-br100.pid --listen-address=10.0.1.1
- --except-interface=lo --dhcp-range=10.0.1.2,static,120s
- --dhcp-lease-max=256
- --dhcp-hostsfile=/local/nova/networks/nova-br100.conf
- --dhcp-script=/usr/bin/nova-dhcpbridge --leasefile-ro
root 9851 9850 0 14:32 ? 00:00:00 dnsmasq --strict-order
- --bind-interfaces --conf-file= --domain=novalocal
- --pid-file=/local/nova/networks/nova-br100.pid --listen-address=10.0.1.1
- --except-interface=lo --dhcp-range=10.0.1.2,static,120s
- --dhcp-lease-max=256
- --dhcp-hostsfile=/local/nova/networks/nova-br100.conf
- --dhcp-script=/usr/bin/nova-dhcpbridge --leasefile-ro
- --sharif
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/
iQEcBAEBAgAGBQJOk2JdAAoJEACffes9SivFoX4H/0huFr6b0ykLRW9tZqKd6yMf
SkxT6DclikUslVTUiTtpOh4iwe4K97R65VbOE/ftG0S6gi4EQ4A3lJPlt+XaB+tH
p0R5uEntf6YzvAwkFT4kjcn+R2b78AQJCdjM4i7vfw8tNaqz5AIlP6ZINkJL6uJm
m0Nmagio2hgRObuDee1hG1LhE+RmljV1/jCQVdvKgbuVuyUKpDhjy3VH7bvgx9mK
mCLH5O9TuKefVShVDg9PgGjzc996jRKx1fEAmGxhlNXndyHmqetLU8x+2qgC85Mw
FaDmLbO1wMrV+v6li59KlWFw5Qb62E/s35RWPNIrk7yRP5qHZ2DJLx78+/8gDXE=
=8nND
-----END PGP SIGNATURE-----
Follow ups
References