openstack team mailing list archive
-
openstack team
-
Mailing list archive
-
Message #04587
dns issue?
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
The instances in openstack are running and I can ssh using the public
address (cactus release). Today I noticed, the vms cannnot connect to
the outside world properly. I don't recall this happening before. The
issue seems to be with name resolution. I can ping fine using the ip
addresses.
$ ssh -i natty2.pem root@xxxxxxxxxxxxxx
Welcome to Ubuntu 11.04 (GNU/Linux 2.6.38-11-virtual x86_64)
Last login: Fri Oct 7 14:17:47 2011 from 129.79.49.229
root@i-000003e4:~# ifconfig eth0
eth0 Link encap:Ethernet HWaddr 02:16:3e:27:5a:da
inet addr:10.0.1.7 Bcast:10.0.1.255 Mask:255.255.255.0
inet6 addr: fe80::16:3eff:fe27:5ada/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:3995 errors:0 dropped:0 overruns:0 frame:0
TX packets:494 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:654810 (654.8 KB) TX bytes:67031 (67.0 KB)
Interrupt:11 Base address:0xa000
root@i-000003e4:~# ping www.google.com
ping: unknown host www.google.com
root@i-000003e4:~# ping 72.14.204.103
PING 72.14.204.103 (72.14.204.103) 56(84) bytes of data.
64 bytes from 72.14.204.103: icmp_req=1 ttl=54 time=32.3 ms
64 bytes from 72.14.204.103: icmp_req=2 ttl=54 time=32.4 ms
^C
- --- 72.14.204.103 ping statistics ---
# dig @10.0.1.1 google.com
; <<>> DiG 9.7.3 <<>> @10.0.1.1 google.com
; (1 server found)
;; global options: +cmd
;; connection timed out; no servers could be reached
# dig @8.8.4.4 google.com
; <<>> DiG 9.7.3 <<>> @8.8.4.4 google.com
; (1 server found)
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 977
;; flags: qr rd ra; QUERY: 1, ANSWER: 5, AUTHORITY: 0, ADDITIONAL: 0
;; QUESTION SECTION:
;google.com. IN A
;; ANSWER SECTION:
google.com. 300 IN A 72.14.204.147
google.com. 300 IN A 72.14.204.105
google.com. 300 IN A 72.14.204.103
google.com. 300 IN A 72.14.204.104
google.com. 300 IN A 72.14.204.99
;; Query time: 36 msec
;; SERVER: 8.8.4.4#53(8.8.4.4)
;; WHEN: Fri Oct 7 14:39:00 2011
;; MSG SIZE rcvd: 108
# cat /etc/resolv.conf
nameserver 10.0.1.1
domain novalocal
search novalocal
# route -n
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use
Iface
10.0.1.0 0.0.0.0 255.255.255.0 U 0 0 0 eth0
0.0.0.0 10.0.1.1 0.0.0.0 UG 100 0 0 eth0
When I add nameserver 8.8.4.4 in resolv.conf, I can ping them. Any idea?
- --sharif
- --
Sharif Islam
Senior Systems Analyst/Programmer
FutureGrid (http://futuregrid.org)
Pervasive Technology Institute, Indiana University Bloomington
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/
iQEcBAEBAgAGBQJOjzIAAAoJEACffes9SivFCPoIAIReLK6aaghrBhWsCilKoy+e
QZwMEjEytldN2LTTTimaE7rhG/C73L40qRQaUToojm8UrpeiaYYwSvjaeazxR65i
9fUPu17cvzjt4UdbItet+/VEfFupLWd/47WCX7ky8m59aDpSP+BzQVj1IcQRan5E
9OFtjeBKLuzndNerI1Cle0PgL709EPo/IbL+f4XlbfePnddZF0gjrHawZCPTRBUl
1cAKoJNLcT6Jlt0BO1Xr9+Wf2K7wuDL/eUJtQ6Cq6ZRp9vXohO8bxjVZ1x8l9bQc
Q0DC+4hxrVIml193vQo/PU9Kuqc6ARTdJK48ezZ/o3fcP6Z1kCl5lqSM6D3x4rs=
=GUQz
-----END PGP SIGNATURE-----
Follow ups