Bug 8894 - RFE: Implement DNS registration update/refresh
RFE: Implement DNS registration update/refresh
Status: NEW
Product: Samba 3.6
Classification: Unclassified
Component: Domain Control
3.6.4
All All
: P5 normal
: ---
Assigned To: Guenther Deschner
Samba QA Contact
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2012-04-25 14:40 UTC by Guenther Deschner
Modified: 2016-11-15 15:19 UTC (History)
4 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Guenther Deschner 2012-04-25 14:40:58 UTC
AD domains often use DNS scavenging [1] meaning that DNS entries for domain
members which have not been refreshed in a certain period of time will be
removed. Windows domain members refresh their DNS registrations daily but Samba
does offer such an option currently. It is of course possible to use something
like "net ads dns register -P" in daily cron but this is rather inelegant.

Samba/winbind should automatically refresh AD DNS registration if so
configured.

1)
http://blogs.technet.com/b/networking/archive/2008/03/19/don-t-be-afraid-of-dns-scavenging-just-be-patient.aspx
Comment 1 David Woodhouse 2015-04-23 08:34:23 UTC
'net ads dns register' doesn't really work very well anyway; see bug 7634.

I ended up scripting calls to 'nsupdate' to set the forward and reverse DNS, in a NetworkManager dispatcher script.
Comment 2 James Johnston 2016-05-16 02:50:30 UTC
Not only should SAMBA update DNS by way of "net ads dns register" every 24 hours, but it should also update whenever the IP addresses of the system change, for both IPv4 and IPv6.  For example, suppose DHCP decides to give SAMBA a new IP address - then SAMBA needs to update DNS immediately.