So I have an odd issue where for some websites, DNS resolutions simply fail. One day x.com may work while some days y.com may not work (the pattern when the websites work and don’t work is not predictable) and the only way to access the websites is to use another device or browse with a VPN/proxy.
First conclusion was that it was a router issue, it can’t really be because other devices on my network ranging from windows to android are able to connect to these websites just fine at the same time as my machine is not.
For example today, Spotify decided not to work:
The troubling websites always hang until the ERR_ADDRESS_UNREACHABLE error occurs.
I have then thought it might’ve been a browser/chromium issue so I tried a non-chromium browser like Opera and the issue still occurs there.
So then I have tried pinging the domains from the
ping utility and they return a response just fine:
~ $ ping spotify.com PING spotify.com (188.8.131.52) 56(84) bytes of data. 64 bytes from 184.108.40.206.bc.googleusercontent.com (220.127.116.11): icmp_seq=1 ttl=113 time=360 ms 64 bytes from 18.104.22.168.bc.googleusercontent.com (22.214.171.124): icmp_seq=2 ttl=113 time=319 ms 64 bytes from 126.96.36.199.bc.googleusercontent.com (188.8.131.52): icmp_seq=3 ttl=113 time=328 ms
I have then tried to change the DNS servers by setting
managed=false and changing the
resolv.conf file to Google and Cloudflare DNS servers:
# Generated by NetworkManager nameserver 184.108.40.206 nameserver 220.127.116.11
And alas, restarting the whole system which sometimes fixes the issues.
Any idea on what’s going on? Thanks.