OpenVZ Forum


Home » Mailing lists » Users » Dns resolution failure..
Re: Dns resolution failure.. [message #3768 is a reply to message #3754] Wed, 14 June 2006 17:26 Go to previous messageGo to previous message
Jonathan is currently offline  Jonathan
Messages: 10
Registered: September 2005
Junior Member
Hey everyone:

Thanks for the suggestions below. I tried both of them, but neither helped
(we had tried both before). Just to show you, here is the command line test
for them:

[root@tamarancho ~]# vzctl set 12002 --nameserver 216.218.131.2 --save
File resolv.conf was modified
Saved parameters for VPS 12002
[root@tamarancho ~]# vzctl set 12002 --nameserver 216.218.132.2 --save
File resolv.conf was modified
Saved parameters for VPS 12002
[root@tamarancho ~]# vzctl set 12002 --nameserver 216.218.130.2 --save
File resolv.conf was modified
Saved parameters for VPS 12002
[root@tamarancho ~]# vzctl enter 12002
entered into VPS 12002
bash-3.00# ping google.com
c
bash-3.00# traceroute yahoo.com
traceroute: unknown host yahoo.com
bash-3.00# wget google.com
--10:19:52-- http://google.com/
=> `index.html'
Resolving google.com... failed: Temporary failure in name resolution.
bash-3.00# grep hosts /etc/nsswitch.conf
#hosts: db files ldap nis dns
hosts: files dns

I'm using he.net's name servers, which should work fine. This doesn't
appear to be a "standard error" or we would have fixed it by now. ;-)

Any other suggestions?

Jonathan


On 6/14/06 5:26 AM, "Kir Kolyshkin" <kir@openvz.org> wrote:

> I suggest to turn on the dump mode and check that /etc/resolv.conf in a
> VE contains the same as on the hardware node. If not, use vzctl set VEID
> --nameserver x.x.x.x --save command.
>
> Next step is to try pinging the nameserver from inside a VE.

# grep hosts /etc/nsswitch.conf
hosts: files dns
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Reasonable expectations
Next Topic: Network configuration
Goto Forum:
  


Current Time: Mon Sep 30 08:15:47 GMT 2024

Total time taken to generate the page: 0.05090 seconds