On Sun, Mar 6, 2022 at 12:20 PM John Covici <cov...@ccs.covici.com> wrote: > > OK, I discovered that if I add 8.8.8.8 to my resolv.conf, > www.youtube.com becomes accessible. I would like not to have either > google or cloudflare in there, if I can avoid them -- they were > blocking some places I wanted to go to with a 521 error code. So, the > mystery deepens. >
Actually, it got a lot simpler. You ruled out host, nsswitch, etc issues. This is just a DNS server issue. Run: dig www.youtube.com @8.8.8.8 dig www.youtube.com @127.0.0.1 dig www.youtube.com @198.7.0.5 All three should resolve something reasonable (it is ok if they don't resolve the same - load balancing/etc can result in that). If any fail to resolve then that DNS server has issues. At that point you need to check the config on that DNS server. -- Rich