HOME ABOUT WEB GITHUB TOP BOTTOM PREV NEXT
Troubleshooting 2: DNS Server TEST
IP ADDRESS PING TEST
- Make sure, you can ping to address (8.8.8.8)
ping -c2 8.8.8.8
(RESULT)
root@cbkadal:~# ping -c2 8.8.8.8
PING 8.8.8.8 (8.8.8.8) 56(84) bytes of data.
64 bytes from 8.8.8.8: icmp_seq=1 ttl=63 time=31.0 ms
64 bytes from 8.8.8.8: icmp_seq=2 ttl=63 time=25.9 ms
--- 8.8.8.8 ping statistics ---
2 packets transmitted, 2 received, 0% packet loss, time 1003ms
rtt min/avg/max/mdev = 25.946/28.468/30.990/2.522 ms
root@cbkadal:~#
DOMAIN PING TEST
- Can you ping to “google.com”?
ping -c2 google.com
(RESULT)
root@cbkadal:~# ping -c2 google.com
PING google.com (74.125.24.113) 56(84) bytes of data.
64 bytes from sf-in-f113.1e100.net (74.125.24.113): icmp_seq=1 ttl=63 time=24.3 ms
64 bytes from sf-in-f113.1e100.net (74.125.24.113): icmp_seq=2 ttl=63 time=23.9 ms
--- google.com ping statistics ---
2 packets transmitted, 2 received, 0% packet loss, time 1003ms
rtt min/avg/max/mdev = 23.886/24.100/24.315/0.214 ms
root@cbkadal:~#
IF YOU CAN NOT RESOLVE “google.com”
- change the DNS server (root)
echo "nameserver 8.8.8.8" > /etc/resolv.conf
cat /etc/resolv.conf
(RESULT)
root@cbkadal:~# echo "nameserver 8.8.8.8" > /etc/resolv.conf
root@cbkadal:~# cat /etc/resolv.conf
nameserver 8.8.8.8
root@cbkadal:~#
Re-test “google.com”
ping -c2 google.com