On 23/09/2020 23.28, ken wrote:
$ ping google.com ping: connect: Cannot assign requested address $ dig google.com
; <<>> DiG 9.16.6 <<>> google.com ;; global options: +cmd ;; Got answer: ;; ->>HEADER<<- opcode: QUERY, status: REFUSED, id: 40037 ;; flags: qr rd; QUERY: 1, ANSWER: 0, AUTHORITY: 0, ADDITIONAL: 1 ;; WARNING: recursion requested but not available
;; OPT PSEUDOSECTION: ; EDNS: version: 0, flags:; udp: 4096 ;; QUESTION SECTION: ;google.com. IN A
;; Query time: 44 msec ;; SERVER: 66.219.156.2#53(66.219.156.2) ;; WHEN: Wed Sep 23 17:02:34 EDT 2020 ;; MSG SIZE rcvd: 39
But I can get to the DNS:
$ ping 66.219.156.2 PING 66.219.156.2 (66.219.156.2) 56(84) bytes of data. 64 bytes from 66.219.156.2: icmp_seq=1 ttl=55 time=43.4 ms 64 bytes from 66.219.156.2: icmp_seq=2 ttl=55 time=45.5 ms 64 bytes from 66.219.156.2: icmp_seq=3 ttl=55 time=43.2 ms 64 bytes from 66.219.156.2: icmp_seq=4 ttl=55 time=45.7 ms ^C --- 66.219.156.2 ping statistics --- 4 packets transmitted, 4 received, 0% packet loss, time 3004ms rtt min/avg/max/mdev = 43.211/44.461/45.704/1.147 ms
Change DNS server, it is bad. cer@Legolas:~> host google.com 66.219.156.2 Using domain server: Name: 66.219.156.2 Address: 66.219.156.2#53 Aliases: Host google.com not found: 5(REFUSED) cer@Legolas:~> -- Cheers / Saludos, Carlos E. R. (from openSUSE 15.1 (Legolas))