Comment on DNS server
Onomatopoeia@lemmy.cafe 3 days agoGuess I’m not following, both still have to request from other DNS servers, so what does unbound add?
Comment on DNS server
Onomatopoeia@lemmy.cafe 3 days agoGuess I’m not following, both still have to request from other DNS servers, so what does unbound add?
InnerScientist@lemmy.world 3 days ago
Copy-pate from here.
Basically, it remove one middle man from the DNS resolving.
Onomatopoeia@lemmy.cafe 3 days ago
Cool, thanks for the clarification. This is good info to have in here in general.
pishadoot@sh.itjust.works 3 days ago
If pi hole is configured to use another DNS it will still forward your request, just not to your ISP DNS server. Essentially you’re providing your DNS requests to a 3rd party, for a slight boost to performance (because they’ll have tons of stuff cached and can do recursive queries faster if you’re requesting a site not in their cache.) Your web pages will load faster because you don’t have an SBC trying to manually figure out what’s the IP for bigfuckdaddyhairbrushemporium.net
The downside is you’re exposing your DNS queries to a 3rd party and it’s a bit of a privacy hit, as the upstream DNS server you select has your public IP correlated with your DNS requests. Doesn’t really matter to most, but it does for some.
Onomatopoeia@lemmy.cafe 1 day ago
Thanks for the clarification.
How is that different than unbound? Isn’t it also forwarding requests?
InnerScientist@lemmy.world 3 days ago
There are 13 root name servers, they container info about which DNS is authorative (can tell you about) a given TLD (like .com or .de) then that repeats for every part of your query with that given server.
Something. Foo. Bar. Com. (<root name server>) ^ most of the time the same as. ^ DNS for baz or bar dns again ^ DNS for Bar ^ DNS server for the .com tld ^ the one unbound asks first, not part of the domain
The root server ips are known to unbound and static.
Then it will ask that server? Like I said unbound remove the middle man and somewhat increases privacy (debatable if only you use it but anyway)
Onomatopoeia@lemmy.cafe 1 day ago
Ah, unbound has the root DNS servers hard coded. That’s a significant point.
Any reason you couldn’t do the same with any other DNS server such as PiHole?
I’m really trying to understand why I’d run two DNS servers in serial, instead of one. All this sounds like it’s just a different config that’s been built in - is there something else I’m missing that unbound does differently?