Has anybody tried using DNSmasq in front of Unbound

Started by IsaacFL, May 12, 2025, 01:06:49 AM

Previous topic - Next topic
In the guide, it suggests having unbound on port 53 acting as DNS and then forwarding local queries to Dnsmasq via port 53053.

Has anybody tried to reverse it where dnsmasq resides on port 53 and then uses unbound on port 5335 as the upstream resolver for dnsmasq?

That is basically what pihole does for its dns/dhcp.
https://docs.pi-hole.net/guides/dns/unbound/

Currently I had some dns looping issues as I have a real custom domain name.


I am trying it and it works well actually. First error found is:
firewall alias resolve error HOST_PRINTERS (no nameservers)

looks like the firewall can't find the name server if not unbound

May 12, 2025, 03:02:37 AM #2 Last Edit: May 12, 2025, 03:22:00 AM by kasper93
Wouldn't it be possible to register local leases in unbound in some other way? Running two DNS servers just for this seems like a low-effort workaround for limitation that shouldn't exist.