OPNsense
  • Home
  • Help
  • Search
  • Login
  • Register

  • OPNsense Forum »
  • Archive »
  • 22.1 Legacy Series »
  • Unbound - "Register DHCP leases"
« previous next »
  • Print
Pages: [1]

Author Topic: Unbound - "Register DHCP leases"  (Read 560 times)

bedub1

  • Newbie
  • *
  • Posts: 5
  • Karma: 1
    • View Profile
Unbound - "Register DHCP leases"
« 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?   
Logged

axsdenied

  • Full Member
  • ***
  • Posts: 106
  • Karma: 5
    • View Profile
Re: Unbound - "Register DHCP leases"
« Reply #1 on: June 05, 2022, 04:07:43 am »
Works well for me.  Did you setup an internal domain?
Logged
OPNsense 22.7.9_3 running on:
Dell Optiplex 3050
Intel I5-7600 @ 3.5Ghz (4 Cores)
Intel I350-T4 Nic
8G DDR4
256G SSD

bedub1

  • Newbie
  • *
  • Posts: 5
  • Karma: 1
    • View Profile
Re: Unbound - "Register DHCP leases"
« Reply #2 on: June 05, 2022, 04:21:42 am »
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". 
Logged

axsdenied

  • Full Member
  • ***
  • Posts: 106
  • Karma: 5
    • View Profile
Re: Unbound - "Register DHCP leases"
« Reply #3 on: June 05, 2022, 04:53:10 am »
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?
Logged
OPNsense 22.7.9_3 running on:
Dell Optiplex 3050
Intel I5-7600 @ 3.5Ghz (4 Cores)
Intel I350-T4 Nic
8G DDR4
256G SSD

axsdenied

  • Full Member
  • ***
  • Posts: 106
  • Karma: 5
    • View Profile
Re: Unbound - "Register DHCP leases"
« Reply #4 on: June 05, 2022, 05:24:43 am »
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.
Logged
OPNsense 22.7.9_3 running on:
Dell Optiplex 3050
Intel I5-7600 @ 3.5Ghz (4 Cores)
Intel I350-T4 Nic
8G DDR4
256G SSD

bedub1

  • Newbie
  • *
  • Posts: 5
  • Karma: 1
    • View Profile
Re: Unbound - "Register DHCP leases"
« Reply #5 on: June 05, 2022, 06:34:39 am »
/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!
Logged

  • Print
Pages: [1]
« previous next »
  • OPNsense Forum »
  • Archive »
  • 22.1 Legacy Series »
  • Unbound - "Register DHCP leases"
 

OPNsense is an OSS project © Deciso B.V. 2015 - 2023 All rights reserved
  • SMF 2.0.19 | SMF © 2021, Simple Machines
    Privacy Policy
    | XHTML | RSS | WAP2