On my samba 4 DC, I can add a dns entry using
> samba-tool dns add ncssamba1.ncs.k12.de.us ncs.k12.de.us ncsfs1 A
10.179.2.6
> samba-tool dns add ncssamba1.ncs.k12.de.us 179.10.in-addr.arpa 6.2 PTR
ncsfs1.ncs.k12.de.us
The forward lookup zone appears correct when viewed using the DNS gui tool
(dnsmgmt.msc) on a Windows server.
ncsfs1 Host (A) 10.179.2.6
However, the reverse lookup shows up as
10.179.2.2.76 Pointer (PTR) ncsfs1.ncs.k12.de.us
nslookup resolves correctly, but the reverse lookup record does not look right.
Also, sometimes it cannot be deleted. This is using samba 4's internal dns.
All the tests to check if dns is working as described on the wiki work. So ..
how do I correct the reverse lookup entries? Do I have my commands to create the
PTR record incorrect?
> nslookup ncsfs1
Server: 10.179.2.25
Address: 10.179.2.25#53
Name: ncsfs1.ncs.k12.de.us
Address: 10.179.2.6
> nslookup ncsfs1.ncs.k12.de.us
Server: 10.179.2.25
Address: 10.179.2.25#53
Name: ncsfs4.ncs.k12.de.us
Address: 10.179.2.6
> nslookup 10.179.2.6
Server: 10.179.2.25
Address: 10.179.2.25#53
6.2.179.10.in-addr.arpa name = ncsfs1.ncs.k12.de.us.
Sincerely,
Dave Hopkis