I have trouble using Google DNS under my 2017 MacBook Pro running macOS Mojave.. I want to point in advance that:
I don't have access to the router settings.
I'm using kind of host network that my landlord provided to me. I would like to avoid to contact him.
I can ping the DNS server I want to use:
$ ping 8.8.8.8
PING 8.8.8.8 (8.8.8.8): 56 data bytes 64 bytes from
8.8.8.8: icmp_seq=0 ttl=120 time=11.034 ms
I can resolve names without Google DNS:
$ nslookup www.apple.com
Server: 192.168.179.1
Address: 192.168.179.1#53
Non-authoritative answer:
www.apple.com canonical name = www.apple.com.edgekey.net.
www.apple.com.edgekey.net canonical name = www.apple.com.edgekey.net.globalredir.akadns.net.
www.apple.com.edgekey.net.globalredir.akadns.net canonical name = e6858.dsce9.akamaiedge.net.
Name: e6858.dsce9.akamaiedge.net
Address: 184.25.247.151
I cannot resolve names with Google DNS:
$ nslookup www.apple.com 8.8.8.8
;; connection timed out; no servers could be reached
Setting up the DNS addresses in a new location does not help.
nslookup
. If it works, it's the router/firewall – Allan Apr 16 '19 at 19:24