dns.adguard.com
Comment on The Beauty Of Having A Pi-hole · Den Delimarsky
chaospatterns@lemmy.world 10 months agoAnd what do you set that secondary DNS entry to? Operating systems may use both, so you need the secondary to point to a pi hole or else you’re letting ads through randomly.
Amir@lemmy.ml 10 months ago
jim3692@discuss.online 10 months ago
Sure, if your router supports DoH or DoT. Most consumer routers don’t. I know that Mikrotik supports it out of the box, and OpenWRT has a package for that.
Amir@lemmy.ml 10 months ago
JackbyDev@programming.dev 10 months ago
Randomly? No, only when your pi goes down. Or when ever you’re looking at something that gets around the simple DNS based ad filtering pinhole does. It’s foolish to spend twice as much money for this level of fail over protection to prevent ads. It’s not like if you see an ad you’re going to die lol. If you’re that opposed to them, sure, go for it, but you’re better off spending your time doing other things to stop ads than maintaining two pi holes because one might fail.
And like the other person said, just use ad guard’s public DNS. I use it on my router and on my phone.
SpaceCadet@feddit.nl 10 months ago
Not how secondary DNS works. It round robins the requests across primary and secondary DNS servers.
JackbyDev@programming.dev 10 months ago
Why call it secondary then, that’s so counterintuitive lol 😭 I guess “the second hardest problem in computer science” applies because I can’t think of a better name either.
SpaceCadet@feddit.nl 10 months ago
I don’t think that’s even the official naming. It probably comes from what Windows 95 called it back in the day:
Image
On Linux, it’s just an additional “nameserver x.x.x.x” line in
/etc/resolv.conf, with no indication of which is the “primary” or “secondary”.chaospatterns@lemmy.world 10 months ago
Different Operating Systems call it different things. Windows calls it Alternate. Even if it was only used when the primary was down, DNS doesn’t provide any sort of guidance or standard on when to switch between primary and secondary. Is one query timeout enough to switch? How often do you reattempt to the first DNS server? When do you switch back?