OpenVZ Forum


Home » General » Support » *SOLVED* IP ping works, DNS IP ping doesnt work
*SOLVED* IP ping works, DNS IP ping doesnt work [message #23368] Fri, 16 November 2007 03:35 Go to previous message
oliver is currently offline  oliver
Messages: 5
Registered: November 2007
Junior Member
hi,

i just recognized an intresting thing:

# ping google.com


nothing happens.

# host google.com <public DNS Server IP>
Using domain server:
Name: <public DNS Server IP>
Address: <public DNS Server IP>#53
Aliases:

google.com has address 72.14.207.99
google.com has address 64.233.167.99
google.com has address 64.233.187.99


# ping <public DNS Server IP>

respond

# ping <DNS Hostname of public DNS Server IP>

nothing happens

# route -n

# route -n
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
192.168.1.0 0.0.0.0 255.255.255.255 UH 0 0 0 venet0
192.168.1.0 0.0.0.0 255.255.255.0 U 0 0 0 venet0
0.0.0.0 192.168.1.1 0.0.0.0 UG 0 0 0 venet0

# cat /etc/resolv.conf
nameserver <public DNS Server IP>


All commands has been put in the vps itself. The vps is Debian 64 Bit running on 64 Bit Centos 5 on 2.6.18-ovz028stab047.1-smp

The Hostmachine doesnt have any problems.

In General the vps services cant do an dns lookup.

ssh -v 192.168.1.40
OpenSSH_4.3p2 Debian-9, OpenSSL 0.9.8c 05 Sep 2006
debug1: Reading configuration data /etc/ssh/ssh_config
debug1: Applying options for *
debug1: Connecting to 192.168.1.40 [192.168.1.40] port 22.
debug1: Connection established.
debug1: permanently_set_uid: 0/0
debug1: identity file /root/.ssh/identity type -1
debug1: identity file /root/.ssh/id_rsa type -1
debug1: identity file /root/.ssh/id_dsa type -1


The vps is pingable from the outside.
The vps can ping every IP.


I dont really get the problem. If anyone know anything i would be thankfull.

Have a nice day Smile

Greetings
Oliver



[Updated on: Fri, 16 November 2007 16:26] by Moderator

Report message to a moderator

 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: *SOLVED* Can ping but not connect from a custom template
Next Topic: no sata_nv module?
Goto Forum:
  


Current Time: Mon Jul 14 05:03:55 GMT 2025

Total time taken to generate the page: 0.02307 seconds