[Samba] reverse dns confused

Bob of Donelson Trophy bob at donelsontrophy.net
Sat Oct 8 12:50:03 UTC 2016


I have built a second dtdc03 and joined to my first dtdc01. Thought all
was well but, discovered that reverse dns is not correct on second
dtdc03. 

root at dtdc03:~# host dtdc03
dtdc03.dtshrm.dt has address 192.168.16.49
root at dtdc03:~# host 192.168.16.49
Host 49.16.168.192.in-addr.arpa. not found: 3(NXDOMAIN)
root at dtdc03:~# nslookup dtdc03
Server: 192.168.16.49
Address: 192.168.16.49#53 

Name: dtdc03.dtshrm.dt
Address: 192.168.16.49 

root at dtdc03:~# nslookup 192.168.16.49
Server: 192.168.16.49
Address: 192.168.16.49#53 

** server can't find 49.16.168.192.in-addr.arpa: NXDOMAIN 

I tried to add the reverse zone (I may be doing this wrong but . . .) 

root at dtdc03:~# samba-tool dns zonecreate dc 16.168.192.in-addr.arpa -U
administrator
INFO: Current debug levels:
all: 6
tdb: 6
printdrivers: 6
        >>>>>>  snipped <<<<<< 

        >>>>>> snipped <<<<<<
SO_RCVLOWAT = 1
SO_SNDTIMEO = 0
SO_RCVTIMEO = 0
Could not test socket option TCP_QUICKACK.
Could not test socket option TCP_DEFER_ACCEPT.
ERROR(runtime): uncaught exception - (-1073741772, 'The object name is
not found.')
File "/usr/lib/python2.7/dist-packages/samba/netcmd/__init__.py", line
175, in _run
return self.run(*args, **kwargs)
File "/usr/lib/python2.7/dist-packages/samba/netcmd/dns.py", line 850,
in run
dns_conn = dns_connect(server, self.lp, self.creds)
File "/usr/lib/python2.7/dist-packages/samba/netcmd/dns.py", line 40, in
dns_connect
dns_conn = dnsserver.dnsserver(binding_str, lp, creds) 

I am not sure what this means? 

-- 
_______________________________

Bob Wooden of Donelson Trophy


More information about the samba mailing list