Author Topic: [SOLVED] Configuring DNS updates for all DHCP leases (not just domain members)?  (Read 14146 times)

sspeed

  • Zen Apprentice
  • *
  • Posts: 22
  • Karma: +1/-0
    • View Profile
Looking around, it seems maybe I need to populate something like this into the named.conf?  But that file regenerates automatically.

allow-update { 172.22.0.0/16;};
« Last Edit: November 22, 2019, 11:15:34 pm by sspeed »

covex

  • Zen Apprentice
  • *
  • Posts: 12
  • Karma: +3/-1
    • View Profile
I have the same issue on 6.0 - my question however is - how to get all records of the DHCP and DNS synced at the first place.

samba-tool dns query ad.my.domain my.domain @ ALL

shows results that absolutely do not match the dhcpd.conf.

samba_dnsupdate --verbose --all-names

does nothing with dhcp client names... it only synces whats in /var/lib/samba/private/dns_update_list

 I can do that manually via samba-tool dns but it is very tedious even for few addresses.

Any ideas?