On 2014-09-07 18:08, James Knott wrote:
On 09/07/2014 11:54 AM, Carlos E. R. wrote:
# cat /etc/resolv.conf | egrep -v "^[[:space:]]*$|^#" search jknott.net nameserver 2620:0:ccc::2 nameserver 2001:470:20::2 nameserver 8.8.8.8
You have defined IPv6 DNS higher up.
Then try to ping, by number, "173.194.45.160", or some numbers up (google.com).
I have no problem reaching the Internet, it's just DNS on that one computer that's failing.
Ok.
Then try "host -v google.com".
# host -v google.com Trying "google.com" ;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 1079 ;; flags: qr rd ra; QUERY: 1, ANSWER: 11, AUTHORITY: 0, ADDITIONAL: 0
;; QUESTION SECTION: ;google.com. IN A
;; ANSWER SECTION: google.com. 288 IN A 173.194.43.105 google.com. 288 IN A 173.194.43.101 google.com. 288 IN A 173.194.43.96 google.com. 288 IN A 173.194.43.98 google.com. 288 IN A 173.194.43.97 google.com. 288 IN A 173.194.43.100 google.com. 288 IN A 173.194.43.110 google.com. 288 IN A 173.194.43.104 google.com. 288 IN A 173.194.43.103 google.com. 288 IN A 173.194.43.102 google.com. 288 IN A 173.194.43.99
Received 204 bytes from 8.8.8.8#53 in 38 ms Trying "google.com" ;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 32390 ;; flags: qr rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 0, ADDITIONAL: 0
;; QUESTION SECTION: ;google.com. IN AAAA
;; ANSWER SECTION: google.com. 203 IN AAAA 2607:f8b0:400b:80a::1004
You get an IPv6 address as answer. And some IPv4 addresses before.
But then
# ping google.com ping: unknown host google.com
So, host works, but apps that require DNS look up don't.
"ping" wants an IPv4 address. Try ifping6 would work. And plain "ping" too, but you need to add some extra options. A quick look at the manual says "-I". Perhaps "ping -v ..." would tell you something more. Ah, I forgot - post this: cat /etc/hosts.conf | egrep -v "^[[:space:]]*$|^#" -- Cheers / Saludos, Carlos E. R. (from 13.1 x86_64 "Bottle" at Telcontar)