[Samba] Dns update not working

Thomas Schulz schulz at adi.com
Tue Mar 4 13:05:33 MST 2014


I joined a Fedora Linux box running Samba 4.1.5 to a Windows Server 2000
domain controller as an additional domain controller with the command:

samba-tool domain join adi.com DC -Uadministrator --realm=adi.com
    --dns-backend=BIND9_DLZ

The messages indicated that this was mostly sucessfull with the exception
of the message:

NO DNS zone information found in source domain, not replicating DNS

Afterward I noticed that the Windows box had not added any new records in
it's DNS and the samba log contains multiple errors about updating the DNS.
I ran samba_dnsupdate --verbose to see what it would say and it listed
many missing resords and then output errors about trying to add them.
Here are three sample errors:

Calling nsupdate for CNAME
    ef382a43-092e-4cda-acb1-e7ba70e9253e._msdcs.adi.com koi.adi.com
Outgoing update query:
;; ->>HEADER<<- opcode: UPDATE, status: NOERROR, id:      0
;; flags:; ZONE: 0, PREREQ: 0, UPDATE: 0, ADDITIONAL: 0
;; UPDATE SECTION:
ef382a43-092e-4cda-acb1-e7ba70e9253e._msdcs.adi.com. 900 IN CNAME koi.adi.com.

dns_request_getresponse: FORMERR
Failed nsupdate: 1


Calling nsupdate for SRV _kpasswd._tcp.adi.com koi.adi.com 464
Outgoing update query:
;; ->>HEADER<<- opcode: UPDATE, status: NOERROR, id:      0
;; flags:; ZONE: 0, PREREQ: 0, UPDATE: 0, ADDITIONAL: 0
;; UPDATE SECTION:
_kpasswd._tcp.adi.com.  900     IN      SRV     0 100 464 koi.adi.com.

; Communication with 192.168.2.178#53 failed: timed out
response to SOA query was unsuccessful
Failed nsupdate: 1


Calling nsupdate for SRV _kpasswd._udp.adi.com koi.adi.com 464
Outgoing update query:
;; ->>HEADER<<- opcode: UPDATE, status: NOERROR, id:      0
;; flags:; ZONE: 0, PREREQ: 0, UPDATE: 0, ADDITIONAL: 0
;; UPDATE SECTION:
_kpasswd._udp.adi.com.  900     IN      SRV     0 100 464 koi.adi.com.

dns_request_getresponse: FORMERR
Failed nsupdate: 1


Any ideas about how to fix this short of entering each record by hand on the
Windows box?

Tom Schulz
Applied Dynamics Intl.
schulz at adi.com


More information about the samba mailing list