Gentoo Archives: gentoo-user

From: Rich Freeman <rich0@g.o>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] applications cannot access anything on youtube
Date: Sun, 06 Mar 2022 17:32:14
Message-Id: CAGfcS_npfw_5JRXBnLcbqrqmz1QjhjxJ37tm6-8ObFSKw58_0w@mail.gmail.com
In Reply to: Re: [gentoo-user] applications cannot access anything on youtube by John Covici
1 On Sun, Mar 6, 2022 at 12:20 PM John Covici <covici@××××××××××.com> wrote:
2 >
3 > OK, I discovered that if I add 8.8.8.8 to my resolv.conf,
4 > www.youtube.com becomes accessible. I would like not to have either
5 > google or cloudflare in there, if I can avoid them -- they were
6 > blocking some places I wanted to go to with a 521 error code. So, the
7 > mystery deepens.
8 >
9
10 Actually, it got a lot simpler. You ruled out host, nsswitch, etc
11 issues. This is just a DNS server issue. Run:
12 dig www.youtube.com @8.8.8.8
13 dig www.youtube.com @127.0.0.1
14 dig www.youtube.com @198.7.0.5
15
16 All three should resolve something reasonable (it is ok if they don't
17 resolve the same - load balancing/etc can result in that). If any
18 fail to resolve then that DNS server has issues. At that point you
19 need to check the config on that DNS server.
20
21 --
22 Rich

Replies

Subject Author
Re: [gentoo-user] applications cannot access anything on youtube Michael <confabulate@××××××××.com>
Re: [gentoo-user] applications cannot access anything on youtube John Covici <covici@××××××××××.com>