Unbound doesn't resolve static leases


I have changed the DNS server from dnsmasq to unbound using this guide.

The problem I encountered is that unbound will not resolve hosts that I have provided static leases for, but it has no problems with DHCP (this is expected because it takes the leases from odhcpd).

I have added the static leases in /etc/config/dhcp and I expected unbound to take them from there, but it seems it doesn't. Do I need to add them manually in unbound, or is there some setting that allows it to "import" the static leases as well? Or should I also add the hosts in /etc/hosts as well?


The issue was solved by restarting the devices. The leases appeared and unbound saw them :slight_smile:

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.