Testing Dynamic DNS Updates: Difference between revisions
From SambaWiki
Mmuehlfeld (talk | contribs) (New page: Testing Dynamic DNS Updates) |
Mmuehlfeld (talk | contribs) (Updated example, rephrased two sentences) |
||
Line 1: | Line 1: | ||
To test the dynamic DNS updates, run as |
To test the dynamic DNS updates, run as the <code>root</code> user on your Samba domain controller (DC): |
||
# samba_dnsupdate --verbose --all-names |
# 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 <code>/usr/local/samba/private/dns_update_list</code> file. |
This commands forces an update of all records specified in the <code>/usr/local/samba/private/dns_update_list</code> file. |
||
Line 7: | Line 21: | ||
The <code>samba_dnsupdate</code> utility updates the DNS. It automatically checks for missing DNS records specified in the <code>dns_update_list</code> file when the <code>samba</code> daemon starts and after every 10 minutes. |
The <code>samba_dnsupdate</code> utility updates the DNS. It automatically checks for missing DNS records specified in the <code>dns_update_list</code> file when the <code>samba</code> daemon starts and after every 10 minutes. |
||
If |
If dynamic DNS updates fail, see: |
||
* <code>BIND9_DLZ</code> back end: [[BIND9_DLZ_DNS_Back_End#Troubleshooting|BIND9_DLZ Troubleshooting]] |
* <code>BIND9_DLZ</code> back end: [[BIND9_DLZ_DNS_Back_End#Troubleshooting|BIND9_DLZ Troubleshooting]] |
Revision as of 18:43, 18 November 2016
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:
BIND9_DLZ
back end: BIND9_DLZ TroubleshootingINTERNAL_DNS
back end: Samba Internal DNS Troubleshooting