Hurricane Electric's IPv6 Tunnel Broker Forums

General IPv6 Topics => IPv6 Basics & Questions & General Chatter => Topic started by: aziaja on January 21, 2009, 01:51:41 PM

Title: Revdns dont work
Post by: aziaja on January 21, 2009, 01:51:41 PM
...
Title: Re: Revdns dont work
Post by: broquea on January 21, 2009, 03:20:30 PM
Looks like that NS doesn't answer for it:

Code: [Select]
dig -x 2001:470:1f07:cff::1 @31337.dyndns.org

; <<>> DiG 9.5.0-P2 <<>> -x 2001:470:1f07:cff::1 @31337.dyndns.org
;; global options:  printcmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: SERVFAIL, id: 4885
;; flags: qr rd; QUERY: 1, ANSWER: 0, AUTHORITY: 0, ADDITIONAL: 0
;; WARNING: recursion requested but not available

;; QUESTION SECTION:
;1.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.f.f.c.0.7.0.f.1.0.7.4.0.1.0.0.2.ip6.arpa. IN PTR

;; Query time: 212 msec
;; SERVER: 83.27.74.82#53(83.27.74.82)
;; WHEN: Wed Jan 21 15:18:13 2009
;; MSG SIZE  rcvd: 90

Delegation is working:
Code: [Select]
dig -x  2001:470:1f07:cff::1 +trace

; <<>> DiG 9.5.0-P2 <<>> -x 2001:470:1f07:cff::1 +trace
;; global options:  printcmd
. 3597533 IN NS a.root-servers.net.
. 3597533 IN NS k.root-servers.net.
. 3597533 IN NS l.root-servers.net.
. 3597533 IN NS g.root-servers.net.
. 3597533 IN NS b.root-servers.net.
. 3597533 IN NS j.root-servers.net.
. 3597533 IN NS d.root-servers.net.
. 3597533 IN NS c.root-servers.net.
. 3597533 IN NS f.root-servers.net.
. 3597533 IN NS i.root-servers.net.
. 3597533 IN NS m.root-servers.net.
. 3597533 IN NS e.root-servers.net.
. 3597533 IN NS h.root-servers.net.
;; Received 452 bytes from 216.218.196.2#53(216.218.196.2) in 1 ms

ip6.arpa. 172800 IN NS ns.icann.org.
ip6.arpa. 172800 IN NS ns.lacnic.net.
ip6.arpa. 172800 IN NS sec1.apnic.net.
ip6.arpa. 172800 IN NS ns-sec.ripe.net.
ip6.arpa. 172800 IN NS tinnie.arin.net.
;; Received 220 bytes from 2001:500:1::803f:235#53(h.root-servers.net) in 1002 ms

0.7.4.0.1.0.0.2.ip6.arpa. 10800 IN NS ns1.he.net.
0.7.4.0.1.0.0.2.ip6.arpa. 10800 IN NS ns5.he.net.
0.7.4.0.1.0.0.2.ip6.arpa. 10800 IN NS ns3.he.net.
0.7.4.0.1.0.0.2.ip6.arpa. 10800 IN NS ns2.he.net.
0.7.4.0.1.0.0.2.ip6.arpa. 10800 IN NS ns4.he.net.
;; Received 186 bytes from 2001:12ff::7#53(ns.lacnic.net) in 271 ms

f.f.c.0.7.0.f.1.0.7.4.0.1.0.0.2.ip6.arpa. 4900 IN NS 31337.dyndns.org.
;; Received 120 bytes from 216.218.130.2#53(ns1.he.net) in 8 ms

;; Received 90 bytes from 83.27.74.82#53(31337.dyndns.org) in 199 ms
Title: Re: Revdns dont work
Post by: snarked on January 21, 2009, 11:27:58 PM
Zone style:  Failure
1)  Your SOA records are wrong.  The first data field is for a name server, not the name of the zone.
2)  You don't need the $ORIGIN directive in your reverse zone - and it can introduce errors (if you misspell your zone).

The problem is that they repeated the "IN" on the NS line.  What was expected was an RR-type.
Title: Re: Revdns dont work
Post by: piojan on January 25, 2009, 10:40:12 AM
Seems to be fine now.

Code: [Select]
# dig -x 2001:470:1f07:cff::1 @31337.dyndns.org

; <<>> DiG 9.6.0b1 <<>> -x 2001:470:1f07:cff::1 @31337.dyndns.org
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 37072
;; flags: qr aa rd; QUERY: 1, ANSWER: 1, AUTHORITY: 1, ADDITIONAL: 0
;; WARNING: recursion requested but not available

;; QUESTION SECTION:
;1.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.f.f.c.0.7.0.f.1.0.7.4.0.1.0.0.2.ip6.arpa. IN PTR

;; ANSWER SECTION:
1.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.f.f.c.0.7.0.f.1.0.7.4.0.1.0.0.2.ip6.arpa. 259200 IN PTR ipv6.ziaja.name.

;; AUTHORITY SECTION:
f.f.c.0.7.0.f.1.0.7.4.0.1.0.0.2.ip6.arpa. 259200 IN NS 31337.dyndns.org.

;; Query time: 47 msec
;; SERVER: 83.4.39.78#53(83.4.39.78)
;; WHEN: Sun Jan 25 19:37:29 2009
;; MSG SIZE  rcvd: 149