OpenVZ Forum


Home » General » Support » DNS not resolving - IP works
DNS not resolving - IP works [message #25146] Sat, 15 December 2007 23:34 Go to next message
smilie is currently offline  smilie
Messages: 20
Registered: September 2007
Junior Member
Hi,

After rebooting VE's, I can not reach internet from VE anymore Sad

I had same issue some time ago and blast why, oh why did I not write down how I fixed it Sad

Anyway:

1. VE is on a public IP;
2. DNS lookup does not work;
3. Ping on IP works;
4. /etc/resolv.conf is same as on HW (dns lookup on HW works);
5. VE can reach nameservers from resolv.conf

I belive this has something to do with routing from VE to HW to internet.

On HW:
[root@vz]# ip r l
85.31.187.52 dev venet0 scope link
85.31.187.53 dev venet0 scope link
85.31.186.0/23 dev eth0 proto kernel scope link src 85.31.186.66
169.254.0.0/16 dev eth0 scope link
default via 85.31.186.1 dev eth0

If you need any other info, let me know.

HELP! Smile

Regards,
Aleks
Re: DNS not resolving - IP works [message #25155 is a reply to message #25146] Sun, 16 December 2007 00:31 Go to previous messageGo to next message
ugob is currently offline  ugob
Messages: 271
Registered: March 2007
Senior Member
try a traceroute to the DNS servers from the VE

Please read the manual before asking questions:
http://download.openvz.org/doc/OpenVZ-Users-Guide.pdf

Please have a look at the wiki before asking questions:
http://wiki.openvz.org/Main_Page
Re: DNS not resolving - IP works [message #25169 is a reply to message #25155] Sun, 16 December 2007 17:50 Go to previous messageGo to next message
smilie is currently offline  smilie
Messages: 20
Registered: September 2007
Junior Member
Don't have it installed Sad
And can not install it from HW.

How can I know to which IP should I route traffic from VE?

My guess is, that network traffic should go from VE to HW to Internet?

And I belive, that routing is not oke. But I have no idea how it works, so do not know what and how to setup Sad

Regards,
Aleks
Re: DNS not resolving - IP works [message #25231 is a reply to message #25169] Tue, 18 December 2007 09:50 Go to previous messageGo to next message
smilie is currently offline  smilie
Messages: 20
Registered: September 2007
Junior Member
Anyone?! Smile
Re: DNS not resolving - IP works [message #25266 is a reply to message #25231] Wed, 19 December 2007 11:11 Go to previous message
smilie is currently offline  smilie
Messages: 20
Registered: September 2007
Junior Member
Oke, solved this one by myself.

Firewall on HN did not allow traffic from VE to pass through. Opened it in iptables and it works like a charm now Smile

Regards,
Aleks
Previous Topic: [SOLVED] live migration with extra mounts in VE
Next Topic: CPU resources real / user / system
Goto Forum:
  


Current Time: Mon Aug 05 03:15:48 GMT 2024

Total time taken to generate the page: 0.04421 seconds