Re: IP ping works, DNS IP ping doesnt work [message #23434 is a reply to message #23422] |
Fri, 16 November 2007 15:46   |
oliver
Messages: 5 Registered: November 2007
|
Junior Member |
|
|
hi,
# echo nameserver 4.2.2.4 > /etc/resolv.conf
# ping google.com
# host google.com 4.2.2.4
;; connection timed out; no servers could be reached
Segmentation fault
# host google.com 4.2.2.4
;; connection timed out; no servers could be reached
Segmentation fault
At this time i tried on another host server maschine this dns server with success. Then i tried again in the vps:
# host google.com 4.2.2.4
Using domain server:
Name: 4.2.2.4
Address: 4.2.2.4#53
Aliases:
google.com has address 64.233.187.99
google.com has address 64.233.167.99
google.com has address 72.14.207.99
google.com mail is handled by 10 smtp3.google.com.
google.com mail is handled by 10 smtp4.google.com.
google.com mail is handled by 10 smtp1.google.com.
google.com mail is handled by 10 smtp2.google.com.
sv1:/# host google.com 4.2.2.4
Using domain server:
Name: 4.2.2.4
Address: 4.2.2.4#53
Aliases:
google.com has address 64.233.187.99
google.com has address 64.233.167.99
google.com has address 72.14.207.99
google.com mail is handled by 10 smtp2.google.com.
google.com mail is handled by 10 smtp3.google.com.
google.com mail is handled by 10 smtp4.google.com.
google.com mail is handled by 10 smtp1.google.com.
# ping google.com
But also here nothing happens.
On Host machine:
# tcpdump -i venet0 | grep 192.168.1.40
Nothing comes along when i do ping or something
# tcpdump -i eth0 | grep 192.168.1.40
16:41:29.164202 IP 81.210.246.158 > 192.168.1.40: ICMP echo request, id 48110, seq 2048, length 40
16:41:29.164244 IP 192.168.1.40 > 81.210.246.158: ICMP echo reply, id 48110, seq 2048, length 40
16:41:30.164393 IP 81.210.246.158 > 192.168.1.40: ICMP echo request, id 48110, seq 2304, length 40
16:41:30.164421 IP 192.168.1.40 > 81.210.246.158: ICMP echo reply, id 48110, seq 2304, length 40
When i ping the vps from outside network
tcpdump on vps is not working because tcpdump its not available.
I will begin to create a complete new raw vps because it was working once as i remember.
Greetings
Oliver
|
|
|