• Welcome to Hurricane Electric's IPv6 Tunnel Broker Forums.

News:

Welcome to Hurricane Electric's Tunnelbroker.net forums!

Main Menu

/64 rnds help

Started by sheppard, March 14, 2010, 03:18:01 PM

Previous topic - Next topic

sheppard

Hi, i've recently setup the tunnel and added my nameservers to the site here.. and i'm not sure what i'm doing wrong, but i still cannot figure out why i'm not getting reverse dns on my block... this is my setup, if maybe a bit of help?

named.conf
zone "ipv6-rev" { type master; file "/etc/namedb/master/ipv6-reverse.db"; };

ipv6-reverse.db
;2001:470:1f07:10f/64
$ORIGIN f.0.1.0.7.0.f.1.0.7.4.0.1.0.0.2.ip6.arpa.
$TTL 3600

@     IN      SOA       ns1.whipcream.net. admin.whipcream.net. (
                        2010031363      ; serial number YYMMDDNN
                        1200            ; Refresh
                        900             ; Retry
                        864000          ; Expire
                        3600            ; Min TTL
                        )

                        NS      ns1.whipcream.net.
                        NS      ns2.whipcream.net.

$ORIGIN 0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.f.0.1.0.7.0.f.1.0.7.4.0.1.0.0.2.ip6.arpa.

1                       PTR     ipv6.whipcream.net.
2                       PTR     box.industry9.com.
3                       PTR     ipv6.industry9.com.

and i know the forward is working, because i can resolve ipv6.whipcream.net i'm not sure whats going on!@# ahh

mikea

Did you verify that the reverse zone loaded correctly? Could be a hint as to what is wrong in the log if it didn't load correctly.

cholzhauer

Does it work internally?

sheppard

it's loading... doesn't work internally though

this is the error i get when i run checkzone on it..

ipv6-reverse.db:4: ignoring out-of-zone data (f.0.1.0.7.0.f.1.0.7.4.0.1.0.0.2.ip6.arpa)
ipv6-reverse.db:17: ignoring out-of-zone data (1.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.f.0.1.0.7.0.f.1.0.7.4.0.1.0.0.2.ip6.arpa)
ipv6-reverse.db:18: ignoring out-of-zone data (2.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.f.0.1.0.7.0.f.1.0.7.4.0.1.0.0.2.ip6.arpa)
ipv6-reverse.db:19: ignoring out-of-zone data (3.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.f.0.1.0.7.0.f.1.0.7.4.0.1.0.0.2.ip6.arpa)
zone ipv6-reverse.db/IN: has 0 SOA records
zone ipv6-reverse.db/IN: has no NS records

sheppard

sorry my bad, it didn't load ;(

mikea

Try taking out /commenting out the first line:
 $ORIGIN f.0.1.0.7.0.f.1.0.7.4.0.1.0.0.2.ip6.arpa.

Try replacing your SOA line with:
@   IN SOA f.0.1.0.7.0.f.1.0.7.4.0.1.0.0.2.ip6.arpa. ns1.whipcream.net. admin.whipcream.net. (

sheppard

heres the reply to named-checkzone, even after the change.

zone localhost/IN: NS 'localhost' has no address records (A or AAAA)
zone localhost/IN: loaded serial 2010031410
zone 0.0.127.in-addr.arpa/IN: loaded serial 2010031314
/etc/namedb/master/ipv6-reverse.db:1: unknown RR type '$ORIGIN'
dns_rdata_fromtext: /etc/namedb/master/ipv6-reverse.db:5: near 'admin.whipcream.net.': not a valid number
/etc/namedb/master/ipv6-reverse.db:6: unknown RR type '@'
/etc/namedb/master/ipv6-reverse.db:19: ignoring out-of-zone data (1.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.f.0.1.0.7.0.f.1.0.7.4.0.1.0.0.2.ip6.arpa)
/etc/namedb/master/ipv6-reverse.db:20: ignoring out-of-zone data (2.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.f.0.1.0.7.0.f.1.0.7.4.0.1.0.0.2.ip6.arpa)
/etc/namedb/master/ipv6-reverse.db:21: ignoring out-of-zone data (3.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.f.0.1.0.7.0.f.1.0.7.4.0.1.0.0.2.ip6.arpa)
zone ipv6-rev/IN: loading from master file /etc/namedb/master/ipv6-reverse.db failed: unknown class/type
_default/ipv6-rev/IN: unknown class/type


mikea

Try changing your $ORIGIN line to:

$ORIGIN f.0.1.0.7.0.f.1.0.7.4.0.1.0.0.2.ip6.arpa.

And adjust your PTR entries to include the trailing zeroes.

ie.

1.0.0.0.0.0.0.0.0.0.0.0.0.0.0  PTR     ipv6.whipcream.net.

mikea

Also in your named.conf try referencing your zone as:

zone "f.0.1.0.7.0.f.1.0.7.4.0.1.0.0.2.ip6.arpa" { type master; file "/etc/namedb/master/ipv6-reverse.db"; };

sheppard

ok, starting look a bit better... this is what i have now, and it atleast loads the zone...

ipv6-reverse.db
$TTL 3600

@      IN      SOA      f.0.1.0.7.0.f.1.0.7.4.0.1.0.0.2.ip6.arpa. admin.whipcream.net. (
                       2010031368      ; serial number YYMMDDNN
                       1200            ; Refresh
                       900             ; Retry
                       864000          ; Expire
                       3600            ; Min TTL
                       )

                       NS      ns1.whipcream.net.
                       NS      ns2.whipcream.net.

$ORIGIN f.0.1.0.7.0.f.1.0.7.4.0.1.0.0.2.ip6.arpa.

1.0.0.0.0.0.0.0.0.0.0.0.0.0.0  PTR     ipv6.whipcream.net.
2.0.0.0.0.0.0.0.0.0.0.0.0.0.0  PTR     box.industry9.com.
3.0.0.0.0.0.0.0.0.0.0.0.0.0.0  PTR     ipv6.industry9.com.


named-checkzone output:

one localhost/IN: NS 'localhost' has no address records (A or AAAA)
zone localhost/IN: loaded serial 2010031410
zone 0.0.127.in-addr.arpa/IN: loaded serial 2010031314
/etc/namedb/master/ipv6-reverse.db:16: ignoring out-of-zone data (1.0.0.0.0.0.0.0.0.0.0.0.0.0.0.f.0.1.0.7.0.f.1.0.7.4.0.1.0.0.2.ip6.arpa)
/etc/namedb/master/ipv6-reverse.db:17: ignoring out-of-zone data (2.0.0.0.0.0.0.0.0.0.0.0.0.0.0.f.0.1.0.7.0.f.1.0.7.4.0.1.0.0.2.ip6.arpa)
/etc/namedb/master/ipv6-reverse.db:18: ignoring out-of-zone data (3.0.0.0.0.0.0.0.0.0.0.0.0.0.0.f.0.1.0.7.0.f.1.0.7.4.0.1.0.0.2.ip6.arpa)
zone ipv6-rev/IN: loaded serial 2010031368


loaded at least, just dunno about the out of zone data error ;(

sheppard

ok i just changed the named.conf

zone "f.0.1.0.7.0.f.1.0.7.4.0.1.0.0.2.ip6.arpa" { type master; file "/etc/namedb/master/ipv6-reverse.db"; };

and now i'm not getting any errors from named-checkzone

sheppard

named-checkzone gives me an error though

ipv6-reverse.db:16: ignoring out-of-zone data (1.0.0.0.0.0.0.0.0.0.0.0.0.0.0.f.0.1.0.7.0.f.1.0.7.4.0.1.0.0.2.ip6.arpa)
ipv6-reverse.db:17: ignoring out-of-zone data (2.0.0.0.0.0.0.0.0.0.0.0.0.0.0.f.0.1.0.7.0.f.1.0.7.4.0.1.0.0.2.ip6.arpa)
ipv6-reverse.db:18: ignoring out-of-zone data (3.0.0.0.0.0.0.0.0.0.0.0.0.0.0.f.0.1.0.7.0.f.1.0.7.4.0.1.0.0.2.ip6.arpa)

broquea

1.0.0.0.0.0.0.0.0.0.0.0.0.0.0.f.0.1.0.7.0.f.1.0.7.4.0.1.0.0.2.ip6.arpa

versus

1.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.f.0.1.0.7.0.f.1.0.7.4.0.1.0.0.2.ip6.arpa

missing a 0, break it out into quads to make sure you've counted the right amount:

1.0.0.0  0.0.0.0  0.0.0.0  0.0.0.0  f.0.1.0  7.0.f.1  0.7.4.0  1.0.0.2

sheppard

well i did make the change, and still same thing ;(  this is my current ipv6-reverse.db

$TTL 3600

@      IN      SOA      f.0.1.0.7.0.f.1.0.7.4.0.1.0.0.2.ip6.arpa. admin.whipcream.net. (
                        2010031373      ; serial number YYMMDDNN
                        1200            ; Refresh
                        900             ; Retry
                        864000          ; Expire
                        3600            ; Min TTL
                        )

                        NS      ns1.whipcream.net.
                        NS      ns2.whipcream.net.

$ORIGIN f.0.1.0.7.0.f.1.0.7.4.0.1.0.0.2.ip6.arpa.

1.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0  PTR     ipv6.whipcream.net.
2.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0  PTR     box.industry9.com.
3.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0  PTR     ipv6.industry9.com.


and error:

ipv6-reverse.db:17: ignoring out-of-zone data (1.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.f.0.1.0.7.0.f.1.0.7.4.0.1.0.0.2.ip6.arpa)
ipv6-reverse.db:18: ignoring out-of-zone data (2.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.f.0.1.0.7.0.f.1.0.7.4.0.1.0.0.2.ip6.arpa)
ipv6-reverse.db:19: ignoring out-of-zone data (3.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.f.0.1.0.7.0.f.1.0.7.4.0.1.0.0.2.ip6.arpa)


sheppard

wooo... now reverse dns is working, though thoes errors still show up :9... thanks for the help guys, much appreciated