OPNsense Forum

English Forums => General Discussion => Topic started by: tj57 on October 15, 2024, 08:38:32 AM

Title: Is Unbound DNS resolve ISC DHCP Leases correctly ?
Post by: tj57 on October 15, 2024, 08:38:32 AM
Is Unbound DNS resolve ISC DHCP Leases correctly ?
Last week it worked fine for me, after the last update it stopped.
How can it be debugged ?

I have checked options
Register DHCP Static Mappings
Register ISC DHCP4 Leases


(https://i.postimg.cc/MGCYbq4m/unbound.png)
Title: Re: Is Unbound DNS resolve ISC DHCP Leases correctly ?
Post by: dseven on October 15, 2024, 12:00:22 PM
How did you test it? What did you expect to happen? What actually happened?

Is the Unbound service running? I've been having some issues lately where I find that the service is not starting up properly after a WAN interface state change. I'm still trying to dig into it. One suspicion I have is around having it configured to listen on specific interfaces, instead of "All", but not sure. I notice that yours is configured for specific interfaces too, so it'd be interesting to see if you're experiencing the same problem or something else....
Title: Re: Is Unbound DNS resolve ISC DHCP Leases correctly ?
Post by: tj57 on October 15, 2024, 12:40:33 PM
I test it with kdig command in LAN vlan, like:
kdig esp32ble or kdig esp32ble.lan
I got empty A record from Unbound DNS.

Host esp32ble is active, exist in ISC and has static entry in IoT vlan.
Title: Re: Is Unbound DNS resolve ISC DHCP Leases correctly ?
Post by: tj57 on October 15, 2024, 09:07:42 PM
It was problem with IPv6, I disabled it on hosts and local dns/dhcp names are working correctly. :o