Using Samba4 4.0.5 with bind 9.9+dlz. When an IP address appears on a DC's interface (including loopback), the IP is added to the DNS server such that an nslookup or dig of realm.domain.org or dc.realm.domain.org returns that IP address as a valid result, by the actions of samba_dnsupdate. When that IP address is subsequently removed, the DNS entry remains and is not deleted. I would have expected that (1) IP addresses on a loopback interface would not be added to the DNS, and (2) samba_dnsupdate would remove IP addresses that it has previously added when that IP address is no longer present. One has to use nsupdate to manually clean up; before this, any clients bound to this DC may get authentication failures according to which IP address they choose to use.
My work in progress can be found here: https://git.samba.org/?p=metze/samba/wip.git;a=shortlog;h=refs/heads/master4-dns https://git.samba.org/?p=metze/samba/wip.git;a=shortlog;h=574269449d0cb4dee1bdd The remaining problem is the DNS delegation for the toplevel NS records...
Created attachment 10078 [details] Untested patches for master Can someone please test this patches?
Created attachment 10092 [details] Temporary patches for v4-1-test Once I got the master patches tested and pushed I can upload the patches with cherry-pick -x information, but the content will be the same so this can be reviewed now.
(In reply to comment #3) > Created attachment 10092 [details] > Temporary patches for v4-1-test > > Once I got the master patches tested and pushed > I can upload the patches with cherry-pick -x information, > but the content will be the same so this can be reviewed now. I like the idea very much, but have not had the time to examine them and their behaviour properly. Sorry, Andrew Bartlett
Comment on attachment 10092 [details] Temporary patches for v4-1-test No problem. I guess the patches still need more work, as they failed autobuild for me a few times....
Created attachment 10136 [details] Untested patches for master These patches pass autobuild now, but they're not tested in a real environment.
Created attachment 10245 [details] Patches for v4-1-test
Pushed to autobuild-v4-1-test.
Pushed to v4-1-test (included in 4.1.12). Closing out bug report. Thanks!