![](https://seccdn.libravatar.org/avatar/54df84b83dac3594fa721c3612615e40.jpg?s=120&d=mm&r=g)
On Tue, 2019-05-28 at 03:03 +0200, Carlos E. R. wrote:
On 28/05/2019 02.01, Mark Misulich wrote:
On Mon, 2019-05-27 at 23:52 +0200, Carlos E. R. wrote:
On 27/05/2019 20.42, Mark Misulich wrote:
On Mon, 2019-05-27 at 19:52 +0200, Carlos E. R. wrote:
On 27/05/2019 18.36, Mark Misulich wrote:
~> ping www.google.com ping: www.google.com: Name or service not known
Problem.
~> egrep -v "^[[:space:]]*$|^#" /etc/resolv.conf nameserver 192.168.1.1
Ah.
The problem seems to be that you told your machine that the router does name solving, but it doesn't.
You could do
host -v www.google.com 192.168.1.1 host -v www.google.com 8.8.8.8
The first one should fail, the second one succeed. ~> host -v www.google.com 192.168.1.1 Trying "www.google.com" Using domain server: Name: 192.168.1.1 Address: 192.168.1.1#53 Aliases:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 15664 ;; flags: qr rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 0, ADDITIONAL: 0 ;; QUESTION SECTION: ;www.google.com. IN A ;; ANSWER SECTION: www.google.com. 171 IN A 172.217.8.196 Received 48 bytes from 192.168.1.1#53 in 41 ms Trying "www.google.com" ;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 46875 ;; flags: qr rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 0, ADDITIONAL: 0 ;; QUESTION SECTION: ;www.google.com. IN AAAA ;; ANSWER SECTION: www.google.com. 171 IN AAAA 2607:f8b0:4009:805::2004 Received 60 bytes from 192.168.1.1#53 in 28 ms Trying "www.google.com" ;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 45637 ;; flags: qr rd ra; QUERY: 1, ANSWER: 0, AUTHORITY: 1, ADDITIONAL: 0 ;; QUESTION SECTION: ;www.google.com. IN MX ;; AUTHORITY SECTION: google.com. 36 IN SOA ns1.google.com. dns- admin.google.com. 250191621 900 900 1800 60 Received 82 bytes from 192.168.1.1#53 in 198 ms lxmark@linux-5w6a:~> host -v www.google.com 8.8.8.8 Trying "www.google.com" Using domain server: Name: 8.8.8.8 Address: 8.8.8.8#53 Aliases: ;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 36721 ;; flags: qr rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 0, ADDITIONAL: 0 ;; QUESTION SECTION: ;www.google.com. IN A ;; ANSWER SECTION: www.google.com. 288 IN A 216.58.192.132 Received 48 bytes from 8.8.8.8#53 in 27 ms Trying "www.google.com" ;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 30315 ;; flags: qr rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 0, ADDITIONAL: 0 ;; QUESTION SECTION: ;www.google.com. IN AAAA ;; ANSWER SECTION: www.google.com. 242 IN AAAA 2607:f8b0:4009:80f::2004 Received 60 bytes from 8.8.8.8#53 in 25 ms Trying "www.google.com" ;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 39402 ;; flags: qr rd ra; QUERY: 1, ANSWER: 0, AUTHORITY: 1, ADDITIONAL: 0 ;; QUESTION SECTION: ;www.google.com. IN MX ;; AUTHORITY SECTION: google.com. 59 IN SOA ns1.google.com. dns- admin.google.com. 250191621 900 900 1800 60 Received 82 bytes from 8.8.8.8#53 in 45 ms
Ok, next step. You said you have more computers. On one that it is working, if it is Linux, see what says /etc/resolv.conf, and perhaps copy it over... The actual name server it uses.
My desktop computer is opensuse. The /etc/resolv.conf file says nameserver 192.168.1.1 On my laptop, the /etc/resolv.conf file says nameserver 192.168.1.1
-- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org