sheppard
Newbie

Posts: 9
|
 |
« on: March 14, 2010, 03:18:01 pm » |
|
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
|
|
|
|
|
Logged
|
|
|
|
mikea
Newbie

Posts: 11
|
 |
« Reply #1 on: March 14, 2010, 04:45:44 pm » |
|
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.
|
|
|
|
|
Logged
|
|
|
|
|
cholzhauer
|
 |
« Reply #2 on: March 14, 2010, 04:51:59 pm » |
|
Does it work internally?
|
|
|
|
|
Logged
|
|
|
|
sheppard
Newbie

Posts: 9
|
 |
« Reply #3 on: March 14, 2010, 05:02:21 pm » |
|
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
|
|
|
|
|
Logged
|
|
|
|
sheppard
Newbie

Posts: 9
|
 |
« Reply #4 on: March 14, 2010, 05:06:10 pm » |
|
sorry my bad, it didn't load ;(
|
|
|
|
|
Logged
|
|
|
|
mikea
Newbie

Posts: 11
|
 |
« Reply #5 on: March 14, 2010, 05:06:49 pm » |
|
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. (
|
|
|
|
|
Logged
|
|
|
|
sheppard
Newbie

Posts: 9
|
 |
« Reply #6 on: March 14, 2010, 05:10:14 pm » |
|
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
|
|
|
|
|
Logged
|
|
|
|
mikea
Newbie

Posts: 11
|
 |
« Reply #7 on: March 14, 2010, 05:13:51 pm » |
|
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.
|
|
|
|
|
Logged
|
|
|
|
mikea
Newbie

Posts: 11
|
 |
« Reply #8 on: March 14, 2010, 05:20:39 pm » |
|
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"; };
|
|
|
|
|
Logged
|
|
|
|
sheppard
Newbie

Posts: 9
|
 |
« Reply #9 on: March 14, 2010, 05:20:57 pm » |
|
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 ;(
|
|
|
|
|
Logged
|
|
|
|
sheppard
Newbie

Posts: 9
|
 |
« Reply #10 on: March 14, 2010, 05:22:44 pm » |
|
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
|
|
|
|
|
Logged
|
|
|
|
sheppard
Newbie

Posts: 9
|
 |
« Reply #11 on: March 14, 2010, 05:23:54 pm » |
|
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)
|
|
|
|
|
Logged
|
|
|
|
|
broquea
|
 |
« Reply #12 on: March 14, 2010, 05:37:57 pm » |
|
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
|
|
|
|
|
Logged
|
|
|
|
sheppard
Newbie

Posts: 9
|
 |
« Reply #13 on: March 14, 2010, 05:49:39 pm » |
|
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)
|
|
|
|
|
Logged
|
|
|
|
sheppard
Newbie

Posts: 9
|
 |
« Reply #14 on: March 14, 2010, 06:08:43 pm » |
|
wooo... now reverse dns is working, though thoes errors still show up :9... thanks for the help guys, much appreciated
|
|
|
|
|
Logged
|
|
|
|
|