I am manually adding YouTube addresses to the blacklist, to help notch some of the ads. The following address is said to be invalid to PiHole for invalid characters, though it is not clear why.
r2---sn-5ualdnss.googlevideo.com
However, the following address is valid and allowed:
rr3---sn-p5qlsny6.googlevideo.com
My install is Pi-hole 5.12 on Windows10 using the "Pi-Hole for WSL1" install found on Github.
Perhaps , but I am seeing some positive impact already of manually adding ad links to the blacklist. If I can get to give me even 10% fewer political ads, it will be worth it!!
I updated my Pi-hole with the latest release, and I am still seeing the issue. However, I did find that I could add the offending address to the 'Adlist group management' list, but I could not add it to the 'Domain management' as a Blacklist entry. Hope this detail will help narrow down the issue.
I looked at the code again and the reason it fails is
chrko@ThinkPad-X230:~$ dig r2---sn-5ualdnss.googlevideo.com
dig: 'r2---sn-5ualdnss.googlevideo.com' is not a legal IDNA2008 name (string contains forbidden two hyphens pattern), use +noidnin
We convert all domains to punycode because this is how they would be request from clients (think of something like täst.com).
As this domain is not a legal IDNA, the conversion fails and the domain is not added.
Did you see a request for r2---sn-5ualdnss.googlevideo.com?
The Unicode string MUST NOT contain "--" (two consecutive hyphens) in
the third and fourth character positions and MUST NOT start or end
with a "-" (hyphen).