OPNsense Forum
Archive => 22.1 Legacy Series => Topic started by: bedub1 on June 04, 2022, 01:38:42 am
-
I'm running Unbound, and I cannot get the "Register DHCP leases" option to work. "Register DHCP static mappings" works just fine. Is it just me?
-
Works well for me. Did you setup an internal domain?
-
By "domain" do you mean a windows active directory domain? I did not.
I did tell the DHCP server to assign a "domain name" that is identical to the "domain" as defined under general - settings - system.
When a client performs an nslookup for "computername", I see in the unbound logs it is searching for "computername.domain".
-
No not AD Domain :)
I did meant domain set under SYSTEM: SETTINGS: GENERAL. I used domain.tld format. So my DHCP servers end up giving machines a hostname.domain.tld address.
I'm also using Unbound for DNS which is where the "Register DHCP leases" lives. Are you using any DNS based Ad blocking services?
-
To double check the registrations are happening you can look into the /var/unbound/dhcpleases.conf file and see if they're there. If they are, you likely have a DNS leak. If not, then some other config is lacking.
-
/var/unbound/dhcpleases.conf showed the entries. I ran another nslookup and it worked perfectly. I wonder what was up. hmmm...
Thanks for the help!