On 09/07/2014 11:54 AM, Carlos E. R. wrote:
On 2014-09-07 17:04, James Knott wrote:
My firewall computer, running openSUSE 13.1 no longer uses external DNS look up, but does use the hosts file. Wireshark shows it's not even attempting to access the DNS servers. I have tried recreating resolv.conf, but the problem remains. Any idea why it wouldn't access DNS servers? Routing to the Internet is fine.
First try by posting this:
cat /etc/resolv.conf | egrep -v "^[[:space:]]*$|^#"
# 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
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.
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 Received 56 bytes from 8.8.8.8#53 in 40 ms Trying "google.com" ;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 19857 ;; flags: qr rd ra; QUERY: 1, ANSWER: 5, AUTHORITY: 0, ADDITIONAL: 0 ;; QUESTION SECTION: ;google.com. IN MX ;; ANSWER SECTION: google.com. 599 IN MX 20 alt1.aspmx.l.google.com. google.com. 599 IN MX 10 aspmx.l.google.com. google.com. 599 IN MX 50 alt4.aspmx.l.google.com. google.com. 599 IN MX 40 alt3.aspmx.l.google.com. google.com. 599 IN MX 30 alt2.aspmx.l.google.com. Received 136 bytes from 8.8.8.8#53 in 38 ms But then # ping google.com ping: unknown host google.com So, host works, but apps that require DNS look up don't. -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org