[Samba] reverse dns confused

Bob of Donelson Trophy bob at donelsontrophy.net
Sat Oct 8 13:53:31 UTC 2016

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
>> root at dtdc03:~# host
>> Host not found: 3(NXDOMAIN)
>> root at dtdc03:~# nslookup dtdc03
>> Server:
>> Address: 
>> Name: dtdc03.dtshrm.dt
>> Address: 
>> root at dtdc03:~# nslookup
>> Server:
>> Address: 
>> ** server can't find 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

I'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.

  -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
  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
  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
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

Name:    dtdc01.dtshrm.dt

root at dtdc01:~# nslookup dtdc03

Name:    dtdc03.dtshrm.dt

root at dtdc01:~# nslookup
Address:    name = dtdc01.dtshrm.dt.

root at dtdc01:~# nslookup

** server can't find 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

More information about the samba mailing list