Reverse DNS not working
Shadow Hawkins on Tuesday, 19 July 2011 23:50:12
I'm having a problem with my reverse dns.
I have configured my server (and I'm able to resolve the PTR records using this: http://www.subnetonline.com/pages/network-tools/online-dig.php )
I have entered the hostname for the server in the subnet configuration, and made sure that AAAA record for that hostname points to my DNS server.
However, for some reason, when I from elsewhere tries to do a reverse lookup of the DNS servers IPv6 address, it doesn't exist (yes, there is a PTR record for the IP of the DNS server).
Is there something that I should do to, that I have missed?
PS: I'm using Windows 2008 R2 as a DNS server, don't know if that means anything, since it works when I manually tries from the url I posted above.
Reverse DNS not working
Jeroen Massar on Tuesday, 19 July 2011 23:56:52
What is the IP address in question that is going wrong?
Output of dig +trace would be very useful to see where what goes wrong.
Reverse DNS not working
Shadow Hawkins on Wednesday, 20 July 2011 00:14:17
It's quiet funny, without +trace, it doesn't work, with +trace it does - here are the two outputs (using one of the OpenDNS servers to query):
Without +trace :
----------------------------
dig @208.67.222.222 2.1.0.0.0.0.0.0.0.0.0.0.0.0.0.0.f.e.e.b.3.a.d.d.8.d.6.1.1.0.0.2.ip6.arpa. PTR
; <<>> DiG 9.8.0 <<>> @208.67.222.222 2.1.0.0.0.0.0.0.0.0.0.0.0.0.0.0.f.e.e.b.3.a.d.d.8.d.6.1.1.0.0.2.ip6.arpa. PTR
; (1 server found)
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: SERVFAIL, id: 20708
;; flags: qr rd ra; QUERY: 1, ANSWER: 0, AUTHORITY: 0, ADDITIONAL: 0
;; QUESTION SECTION:
;2.1.0.0.0.0.0.0.0.0.0.0.0.0.0.0.f.e.e.b.3.a.d.d.8.d.6.1.1.0.0.2.ip6.arpa. IN PTR
;; Query time: 1036 msec
;; SERVER: 208.67.222.222#53(208.67.222.222)
;; WHEN: Tue Jul 19 22:12:43 2011
;; MSG SIZE rcvd: 90
----------------------------
With +trace :
----------------------------
dig @208.67.222.222 2.1.0.0.0.0.0.0.0.0.0.0.0.0.0.0.f.e.e.b.3.a.d.d.8.d.6.1.1.0.0.2.ip6.arpa. PTR +trace
; <<>> DiG 9.8.0 <<>> @208.67.222.222 2.1.0.0.0.0.0.0.0.0.0.0.0.0.0.0.f.e.e.b.3.a.d.d.8.d.6.1.1.0.0.2.ip6.arpa. PTR +trace
; (1 server found)
;; global options: +cmd
. 517204 IN NS h.root-servers.net.
. 517204 IN NS i.root-servers.net.
. 517204 IN NS d.root-servers.net.
. 517204 IN NS f.root-servers.net.
. 517204 IN NS k.root-servers.net.
. 517204 IN NS e.root-servers.net.
. 517204 IN NS a.root-servers.net.
. 517204 IN NS l.root-servers.net.
. 517204 IN NS m.root-servers.net.
. 517204 IN NS b.root-servers.net.
. 517204 IN NS g.root-servers.net.
. 517204 IN NS j.root-servers.net.
. 517204 IN NS c.root-servers.net.
;; Received 228 bytes from 208.67.222.222#53(208.67.222.222) in 51 ms
ip6.arpa. 172800 IN NS e.ip6-servers.arpa.
ip6.arpa. 172800 IN NS f.ip6-servers.arpa.
ip6.arpa. 172800 IN NS b.ip6-servers.arpa.
ip6.arpa. 172800 IN NS a.ip6-servers.arpa.
ip6.arpa. 172800 IN NS c.ip6-servers.arpa.
ip6.arpa. 172800 IN NS d.ip6-servers.arpa.
;; Received 462 bytes from 192.33.4.12#53(c.root-servers.net) in 32 ms
6.1.1.0.0.2.ip6.arpa. 86400 IN NS sns-pb.isc.org.
6.1.1.0.0.2.ip6.arpa. 86400 IN NS ns3.nic.fr.
6.1.1.0.0.2.ip6.arpa. 86400 IN NS sec3.apnic.net.
6.1.1.0.0.2.ip6.arpa. 86400 IN NS tinnie.arin.net.
6.1.1.0.0.2.ip6.arpa. 86400 IN NS pri.authdns.ripe.net.
6.1.1.0.0.2.ip6.arpa. 86400 IN NS sec1.apnic.net.
;; Received 290 bytes from 2001:500:13::73#53(a.ip6-servers.arpa) in 116 ms
8.d.6.1.1.0.0.2.ip6.arpa. 172800 IN NS ns1.q.port80.se.
8.d.6.1.1.0.0.2.ip6.arpa. 172800 IN NS ns2.q.port80.se.
8.d.6.1.1.0.0.2.ip6.arpa. 172800 IN NS ns3.q.p80.net.
8.d.6.1.1.0.0.2.ip6.arpa. 172800 IN NS ns4.q.p80.net.
;; Received 182 bytes from 2001:660:3006:1::1:1#53(ns3.nic.fr) in 45 ms
d.d.8.d.6.1.1.0.0.2.ip6.arpa. 60 IN NS ns1.sixxs.net.
d.d.8.d.6.1.1.0.0.2.ip6.arpa. 60 IN NS ns2.sixxs.net.
d.d.8.d.6.1.1.0.0.2.ip6.arpa. 60 IN NS ns3.sixxs.net.
;; Received 153 bytes from 2a01:6d0:1::2#53(ns2.q.port80.se) in 33 ms
3.a.d.d.8.d.6.1.1.0.0.2.ip6.arpa. 604800 IN NS hawk.home.gurlinet.dk.
;; Received 125 bytes from 2620:0:6b0:a:250:56ff:fe99:78f7#53(ns3.sixxs.net) in 129 ms
2.1.0.0.0.0.0.0.0.0.0.0.0.0.0.0.f.e.e.b.3.a.d.d.8.d.6.1.1.0.0.2.ip6.arpa. 900 IN PTR dove.home.gurlinet.dk.
;; Received 125 bytes from 2001:16d8:dda3:beef::6#53(hawk.home.gurlinet.dk) in 3 ms
----------------------------
Any ideas on what goes wrong?
Also, if I visit http://myip.dk - it isn't able to reverse my ip.
Reverse DNS not working
Jeroen Massar on Wednesday, 20 July 2011 00:20:06 3.a.d.d.8.d.6.1.1.0.0.2.ip6.arpa. 604800 IN NS hawk.home.gurlinet.dk. ;; Received 125 bytes from 2620:0:6b0:a:250:56ff:fe99:78f7#53(ns3.sixxs.net) in 129 ms
That host (hawk.home...) has both an IPv4 and an IPv6 address. The IPv6 version works, the IPv4 version is dead. Do remember that most of the internet does not have IPv6 and will thus not be able to query your server.
Reverse DNS not working
Shadow Hawkins on Wednesday, 20 July 2011 00:29:06
Ahh, yes, that makes sense :-)
So changing the A record to point to the gateway, and forward tcp/udp 53 to the server should do the trick?
Reverse DNS not working
Jeroen Massar on Wednesday, 20 July 2011 00:31:43
In theory that could work, but DNS is quite tricky with regard to forwards....
Reverse DNS not working
Shadow Hawkins on Wednesday, 20 July 2011 00:34:34
I'll give it a go and see what happens :-)
Thanks for helping me clear it out, have been banging my head against the table all day with why it didn't work :-)
Posting is only allowed when you are logged in. |