I've created all of the reverse DNS records I need, but I can't get the system to respond to them.
most of the forums post complain and say that the ISP controls reverse, however, I'm trying to reverse none internet addresses..
[root@ns1 init.d]# nslookup 172.16.0.9 Server: 127.0.0.1 Address: 127.0.0.1#53
** server can't find 9.0.16.172.in-addr.arpa.: NXDOMAIN [root@ns1 init.d]# dig 172.16.0.9
; <<>> DiG 9.9.4-RedHat-9.9.4-18.el7_1.1 <<>> 172.16.0.9 ;; global options: +cmd ;; Got answer: ;; ->>HEADER<<- opcode: QUERY, status: NXDOMAIN, id: 28675 ;; flags: qr rd ra ad; QUERY: 1, ANSWER: 0, AUTHORITY: 1, ADDITIONAL: 1
;; OPT PSEUDOSECTION: ; EDNS: version: 0, flags:; udp: 4096 ;; QUESTION SECTION: ;172.16.0.9. IN A
;; AUTHORITY SECTION: . 10800 IN SOA a.root-servers.net. nstld.verisign-grs.com. 2015061800 1800 900 604800 86400
;; Query time: 40 msec ;; SERVER: 127.0.0.1#53(127.0.0.1) ;; WHEN: Thu Jun 18 12:04:02 CDT 2015 ;; MSG SIZE rcvd: 114
Comments
Submitted by andreychek on Thu, 06/18/2015 - 12:22 Comment #1
It's true that in most cases, the ISP handles reverse DNS. If you're certain that the owner of the IP's has delegated that responsibility to you, it's possible to do that though.
Can you describe the process you used to setup the reverse DNS?
Normally, it's a matter of going into Webmin, and using the BIND module to create a reverse zone for the IP range. And then in that zone, add PTR records that point to the hostnames they should resolve to.
Submitted by starr on Thu, 06/18/2015 - 15:11 Pro Licensee Comment #2
I created and empty zone for the forward and reverse. Then added a PTR record with A record.
Submitted by starr on Fri, 06/19/2015 - 14:02 Pro Licensee Comment #3
Anything?
Submitted by JamieCameron on Fri, 06/19/2015 - 16:57 Comment #4
So are your DNS clients that are trying to lookup this address using your nameserver, or a public or ISP-provided nameserver? Because they will only be able to perform the lookup correctly if they use your server.
Submitted by starr on Fri, 06/19/2015 - 16:59 Pro Licensee Comment #5
The schools is using a virtumin machine locally and resolving dns from that for the local not internet addresses.
Submitted by JamieCameron on Fri, 06/19/2015 - 17:04 Comment #6
Are you sure that the /etc/resolv.conf file on the machine doing DNS lookups contains only the IP of the Virtualmin system?
Submitted by starr on Fri, 06/19/2015 - 17:13 Pro Licensee Comment #7
search cimarronschools.net nameserver 127.0.0.1
Submitted by starr on Fri, 06/19/2015 - 17:13 Pro Licensee Comment #8
search cimarronschools.net nameserver 127.0.0.1
Submitted by JamieCameron on Fri, 06/19/2015 - 22:03 Comment #9
That seems OK, assuming this is on the Virtualmin system itself. Did you restart BIND after adding the reverse zone?