Testing Dynamic DNS Updates

From SambaWiki
The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.

To test the dynamic DNS updates, run as the root user on your Samba domain controller (DC):

# samba_dnsupdate --verbose --all-names
IPs: ['10.99.0.1']
...
force update: A samdom.example.com 10.99.0.1
...
21 DNS updates and 0 DNS deletes needed
Successfully obtained Kerberos ticket to DNS/dc1.samdom.example.com as DC1$
update(nsupdate): A samdom.example.com 10.99.0.1
Calling nsupdate for A samdom.example.com 10.99.0.1 (add)
Outgoing update query:
;; ->>HEADER<<- opcode: UPDATE, status: NOERROR, id:      0
;; flags:; ZONE: 0, PREREQ: 0, UPDATE: 0, ADDITIONAL: 0
;; UPDATE SECTION:
samdom.example.com.	900	IN	A	10.99.0.1
...

This commands forces an update of all records specified in the /usr/local/samba/private/dns_update_list file.

The samba_dnsupdate utility updates the DNS. It automatically checks for missing DNS records specified in the dns_update_list file when the samba daemon starts and after every 10 minutes.

If dynamic DNS updates fail, see: