Hurricane Electric's IPv6 Tunnel Broker Forums

General IPv6 Topics => IPv6 on Linux & BSD & Mac => Topic started by: jeffsadowski on February 02, 2011, 04:29:23 PM

Title: [solved] bind named help
Post by: jeffsadowski on February 02, 2011, 04:29:23 PM
I was having difficulty finding information on the net about setting up bind to answer forward and reverse lookups for ipv6

so here is the relevant information about my bind settings that got it working for me.

named.conf

options {
listen-on-v6 { any; };
};
zone "L.K.J.I.H.G.F.E.D.C.B.A.1.0.0.2.ip6.arpa" {
type master;
file "/etc/bind/db.ip6";
};


db.ip6

$ORIGIN L.K.J.I.H.G.F.E.D.C.B.A.1.0.0.2.ip6.arpa.
$TTL 86400      ; 1 day
@  IN SOA  house.local. email.address. (
                               2011020201 ; serial
                               28800      ; refresh (8 hours)
                               7200       ; retry (2 hours)
                               2419200    ; expire (4 weeks)
                               86400      ; minimum (1 day)
                               )
  IN NS   myserver.house.local.
1.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0 IN PTR myserver.house.local.


now nslookup performs as follows

nslookup ABCD:EFGH:IJKL::1 ::1
Server: ::1
Address ::1#53

1.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.L.K.J.H.G.F.E.D.C.B.A.1.0.0.2.ip6.arpa name = myserver.house.local.


as I was expecting it in the first place

I found helpful info here http://www.secure-computing.net/wiki/index.php/IPv6_DNS
it helped googling for "bind 1.0.0.2.ip6.arpa"
Title: Re: bind named help
Post by: kriteknetworks on February 02, 2011, 08:18:16 PM
Yeah, obfuscation doesn't help, can't troubleshoot without actual information, please provide specific details.
Title: Re: bind named help
Post by: jeffsadowski on February 02, 2011, 09:16:09 PM
I edited the original post I found what I was looking for.