Testing Dynamic DNS Updates

From SambaWiki
Jump to: navigation, search

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

# samba_dnsupdate --verbose --all-names
IPs: ['']
force update: A samdom.example.com
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
Calling nsupdate for A samdom.example.com (add)
Outgoing update query:
;; ->>HEADER<<- opcode: UPDATE, status: NOERROR, id:      0
;; flags:; ZONE: 0, PREREQ: 0, UPDATE: 0, ADDITIONAL: 0
samdom.example.com.	900	IN	A

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: