router not resolving domain name
by mfoley from LinuxQuestions.org on (#6H8AE)
I have a Slackware 15.0 computer that was previously connected to an ASUS RT-AC66U B1 router with LAN IP 192.168.0.1. The Linux computer was able to connect to the Internet using 192.168.0.1 as the nameserver. The Linux IP was 192.168.0.2.
I moved that computer to a Netgear Nighthawk X4S R7800 with LAN IP 192.168.1.1. The linux computer now has IP 192.168.1.60. Now, I cannot resolve domain names using 192.168.1.1 as the nameserver, but I can do so using 8.8.8.8 or the ISP's nameserver:
Code:# dig yahoo.com @192.168.1.1
; <<>> DiG 9.16.44 <<>> yahoo.com @192.168.1.1
;; global options: +cmd
;; connection timed out; no servers could be reached
# dig yahoo.com @8.8.8.8
; <<>> DiG 9.16.44 <<>> yahoo.com @8.8.8.8
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 21058
;; flags: qr rd ra; QUERY: 1, ANSWER: 6, AUTHORITY: 0, ADDITIONAL: 1
;; OPT PSEUDOSECTION:
; EDNS: version: 0, flags:; udp: 512
;; QUESTION SECTION:
;yahoo.com. IN A
# dig yahoo.com @209.18.47.61
; <<>> DiG 9.16.44 <<>> yahoo.com @209.18.47.61
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 27114
;; flags: qr rd ra; QUERY: 1, ANSWER: 6, AUTHORITY: 0, ADDITIONAL: 1
;; OPT PSEUDOSECTION:
; EDNS: version: 0, flags:; udp: 512
;; QUESTION SECTION:
;yahoo.com. IN AThe nameserver addresses 209.18.47.61 and 209.18.47.61 are configured in the Netgear as nameservers.
Why can I not resolve using the Netgear 192.168.1.1 address as the Linux host's nameserver, but I could do so with the ASUS? I think this is causing me other problems.
I moved that computer to a Netgear Nighthawk X4S R7800 with LAN IP 192.168.1.1. The linux computer now has IP 192.168.1.60. Now, I cannot resolve domain names using 192.168.1.1 as the nameserver, but I can do so using 8.8.8.8 or the ISP's nameserver:
Code:# dig yahoo.com @192.168.1.1
; <<>> DiG 9.16.44 <<>> yahoo.com @192.168.1.1
;; global options: +cmd
;; connection timed out; no servers could be reached
# dig yahoo.com @8.8.8.8
; <<>> DiG 9.16.44 <<>> yahoo.com @8.8.8.8
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 21058
;; flags: qr rd ra; QUERY: 1, ANSWER: 6, AUTHORITY: 0, ADDITIONAL: 1
;; OPT PSEUDOSECTION:
; EDNS: version: 0, flags:; udp: 512
;; QUESTION SECTION:
;yahoo.com. IN A
# dig yahoo.com @209.18.47.61
; <<>> DiG 9.16.44 <<>> yahoo.com @209.18.47.61
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 27114
;; flags: qr rd ra; QUERY: 1, ANSWER: 6, AUTHORITY: 0, ADDITIONAL: 1
;; OPT PSEUDOSECTION:
; EDNS: version: 0, flags:; udp: 512
;; QUESTION SECTION:
;yahoo.com. IN AThe nameserver addresses 209.18.47.61 and 209.18.47.61 are configured in the Netgear as nameservers.
Why can I not resolve using the Netgear 192.168.1.1 address as the Linux host's nameserver, but I could do so with the ASUS? I think this is causing me other problems.