On 29/02/2020 19:01, Rowland penny via samba wrote:> No and I can see why you asked, I will update the page. > > It is supposed to update all the records found in a file called dns_update_list, which on Debian, is to be found here: > > /var/lib/samba/private/dns_update_list >Thanks Rowland. Is it possible to add some feature requests for extra options for samba_dnsupdate please? 1) --dry-run :) 2) --current-ip=CURRENT_IP to force using this * 3) --all-names description, what does this mean? 4) Some proper examples on the Wiki or man pages, and especially the kinit option... --use-nsupdate Use nsupdate command to make updates over DNS (default, if kinit successful) * yesterday, we changed the IP addresses of our DCs and the Wiki page did not mention (IMHO) 2 critical things... 1. "Check your hosts file for old IP address entries of the DCs". Yes, I did not change the 2 old IP address entries in my /etc/hosts file and that samba_dnsupdate command subequently started changing things wrongly (hence the --dry-run option!). It then involved me cleaning up the spurious wrong entries in the database :-( 2. When can you sign in to Kerberos to test the Domain credentials and run samba-tool commands to check all is well? Thanks, Paul
Hello, I have some DNS weirdness for you folks to chew on and help me with... On Saturday I added this entry... $ samba-tool dns add dc3 mydomain.com V-RDS02 A 130.130.0.252 but this morning I've come in to the office and the A records have disappeared to be replaced by AAAA records... Name=V-INT, Records=1, Children=0 AAAA: 2002:8282:00ca:0000:0000:0000:8282:00ca (flags=f0, serial=110, ttl=1200) Name=V-RDS02, Records=1, Children=0 AAAA: 2002:8282:00fc:0000:0000:0000:8282:00fc (flags=f0, serial=110, ttl=1200) Name=V-SAGE03, Records=2, Children=0 AAAA: 2002:8282:00e5:0000:0000:0000:8282:00e5 (flags=f0, serial=110, ttl=1200) Name=V-SQL02, Records=1, Children=0 AAAA: 2002:8282:00e6:0000:0000:0000:8282:00e6 (flags=f0, serial=110, ttl=1200) ...so no-one can get to where they need to be. I add the A record back in to the DNS... $ samba-tool dns add dc3 mydomain.com V-RDS02 A 130.130.0.252 Name=V-RDS02, Records=2, Children=0 AAAA: 2002:8282:00fc:0000:0000:0000:8282:00fc (flags=f0, serial=110, ttl=1200) A: 130.130.0.252 (flags=f0, serial=764, ttl=900) ...and people can work again. What is causing this? Thanks, Paully
On 02/03/2020 09:54, Paul Littlefield via samba wrote:> Hello, > > I have some DNS weirdness for you folks to chew on and help me with... > > On Saturday I added this entry... > > $ samba-tool dns add dc3 mydomain.com V-RDS02 A 130.130.0.252 > > but this morning I've come in to the office and the A records have > disappeared to be replaced by AAAA records... > > ...so no-one can get to where they need to be. > > I add the A record back in to the DNS... > > What is causing this?Does your DC have a fixed IP and if not, why not ? Rowland