[Samba] reverse dns confused
Rowland Penny
rpenny at samba.org
Sat Oct 8 14:19:42 UTC 2016
On Sat, 08 Oct 2016 08:53:31 -0500
Bob of Donelson Trophy via samba <samba at lists.samba.org> wrote:
> 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.
> >
> > 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.
>
> 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?
>
>
The command should have been:
samba-tool dns add dc 16.168.192.in-addr.arpa 49 PTR
DTDC03.your.domain.tld
You missed out the 'dns' and the dns domain
Rowland
More information about the samba
mailing list