3 ms·
One of the reasons I never switch from dnsmasq is the integrated dhcp/dns service. Unbound did not have this (nor any service I know) and you need extra care t
by BrandoElFollito 3y ago
One of the reasons I never switch from dnsmasq is the integrated dhcp/dns service.
Unbound did not have this (nor any service I know) and you need extra care to handle your local devices registration
The fact that dnsmasq is the only service I know that manages dhcp records on dns makes me wonder if I am not doing something wrong.
- spockz 3y agoI think the pihole docker image uses dnsmasq. It definitely supports being the dhcp server and integrates clients into its dns responses.
- BrandoElFollito 3y agoYes it does. I was referring to switching to unbound.
- byteknight 3y agoUnbound is not the intended to be a PiHole service. It's a resolver.
- figmert 3y agoAdguard Home does too. Anyway, regardless, you can use dnsmasq with Unbound.
- BrandoElFollito 3y ago> you can use dnsmasq with Unbound could you elaborate on that? How is the connection done?
- figmert 3y agoDnsmasq needs an upstream server to resolve the DNS queries. That upstream server can be anything, Google, Cloudflate, Quad9, or, a local Unbound instance. You run an unbound server with a static IP, and point dnsmasq to said static IP. OPs setup has this configured through Pi-hole. Look at the docker-compose file. Edit: I just remembered Pi-hole has an official guide for this: https://docs.pi-hole.net/guides/dns/unbound/ https://docs.pi-hole.net/guides/dns/unbound/
- globular-toast 3y agoPfSense can do it, but I suppose it "manually" configures the DNS server using the DHCP part. You could also consider using zeroconf/avahi if you can. You don't even need a DHCP server for it (although you won't be able to connect to the internet etc).
- BrandoElFollito 3y agoPfSense uses dnsmasq under the hood, no?
- globular-toast 3y agoIt uses unbound for the DNS resolver. Perhaps the DNS forwarder uses dnsmasq, but I don't use it.