And 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.
Comment on The Beauty Of Having A Pi-hole · Den Delimarsky
JackbyDev@programming.dev 2 weeks agoHuh? Typically you have a secondary DNS entry on your router
chaospatterns@lemmy.world 2 weeks ago
Amir@lemmy.ml 2 weeks ago
dns.adguard.com
jim3692@discuss.online 2 weeks 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 2 weeks ago
JackbyDev@programming.dev 2 weeks 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 1 week ago
Randomly? No, only when your pi goes down
Not how secondary DNS works. It round robins the requests across primary and secondary DNS servers.
JackbyDev@programming.dev 1 week 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.
r_deckard@lemmy.world 2 weeks ago
I have two piholes - they serve different DHCP ranges (e.g. 1-100 and 101-250), and option 6 references each other.
SpaceCadet@feddit.nl 1 week ago
Secondary DNS is not for redundancy!
The way secondary DNS works is that a client distributes DNS requests across the primary and secondary DNS servers. So if you have pihole as your primary DNS and, say, 8.8.8.8 as your secondary DNS, you’re sending half of your DNS requests to google. And if your pihole DNS goes down, half of your DNS queries time out.
JackbyDev@programming.dev 1 week ago
That’s so weird wtf why don’t they call it something like “DNS pool” then?