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
On Sat, 08 Oct 2016 07:50:03 -0500 Bob of Donelson Trophy via samba <samba at lists.samba.org> wrote:> 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 . . .) >Bob, did you create the reverse zone on the first DC ? If so, you don't create it again, you just add the new DCs reverse record to the zone. Rowland
On 2016-10-08 07:58, Rowland Penny via samba wrote:> On Sat, 08 Oct 2016 07:50:03 -0500 > Bob of Donelson Trophy via samba <samba at lists.samba.org> wrote: > >> 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 . . .) > > Bob, did you create the reverse zone on the first DC ? > > If so, you don't create it again, you just add the new DCs reverse > record to the zone. > > RowlandI'm still doing something wrong. On first DC (dtdc01) I ran . . . and got . . . root at dtdc01:~# samba-tool add dc 16.168.192.in-addr.arpa 49 PTR DTDC03 Usage: samba-tool <subcommand> Main samba administration tool. Options: -h, --help show this help message and exit Version Options: -V, --version Display version number Available subcommands: dbcheck - Check local AD database for errors. delegation - Delegation management. dns - Domain Name Service (DNS) management. domain - Domain management. drs - Directory Replication Services (DRS) management. dsacl - DS ACLs manipulation. fsmo - Flexible Single Master Operations (FSMO) roles management. gpo - Group Policy Object (GPO) management. group - Group management. ldapcmp - Compare two ldap databases. ntacl - NT ACLs manipulation. processes - List processes (to aid debugging on systems without setproctitle). rodc - Read-Only Domain Controller (RODC) management. sites - Sites management. spn - Service Principal Name (SPN) management. testparm - Syntax check the configuration file. time - Retrieve the time on a server. user - User management. vampire - Join and synchronise a remote AD domain to the local server. For more help on a specific subcommand, please type: samba-tool <subcommand> (-h|--help) Obviously it is telling me that I am doing something wrong . . . I have read too much and I'm confused. On dtdc01 I ran the following: root at dtdc01:~# nslookup dtdc01 Server: 192.168.16.49 Address: 192.168.16.49#53 Name: dtdc01.dtshrm.dt Address: 192.168.16.51 root at dtdc01:~# nslookup dtdc03 Server: 192.168.16.49 Address: 192.168.16.49#53 Name: dtdc03.dtshrm.dt Address: 192.168.16.49 root at dtdc01:~# nslookup 192.168.16.51 Server: 192.168.16.49 Address: 192.168.16.49#53 51.16.168.192.in-addr.arpa name = dtdc01.dtshrm.dt. root at dtdc01:~# 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 In my mind I am being told to add the second DC (dtdc03) reverse dns to dtdc01 . . . what am I doing wrong? Am I miss understanding the message? -- _______________________________ Bob Wooden of Donelson Trophy