Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 23 Feb 2003 10:09:21 +0000
From:      Matthew Seaman <m.seaman@infracaninophile.co.uk>
To:        freebsd-questions@FreeBSD.ORG
Subject:   Re: bind with IPV6 reverse problem
Message-ID:  <20030223100921.GB12731@happy-idiot-talk.infracaninophi>
In-Reply-To: <20030222192431.Y5406-100000@amour.ath.cx>
References:  <20030222192431.Y5406-100000@amour.ath.cx>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sat, Feb 22, 2003 at 07:30:51PM +0100, Alexander wrote:

> I'm trying to make resolving for my IPV6 home network
> but the reverse seems to not be working.
> The config looks pretty fine but still nothing
> So I noticed that bind is not listening on any IPV6 address
> Is this the problem ?

There's nothing obviously wrong in what you've posted.  However, take
a look at RFC 3152 --- IPv6 inverse lookup domains should be rooted at
.IP6.ARPA. nowadays, rather than .IP6.INT.  

The bundled BIND 8 software on FreeBSD already expects this.  'dig -x
::1' generates a lookup of the form:

    ;;      1.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.ip6.arpa, type = ANY, class = IN

If you're going to be getting into IPv6 suff fairly heavily, you might
consider upgrading to BIND 9, which has more extensive and up to date
IPv6 support --- A6, DNAME records, bitstring labels and so forth.

 
> here are
> 
> named.conf:
> listen {
>         any;
> };
> listen-on-v6 {
>         any;
> };
> options {
>         directory "/etc/namedb";
> };
> zone "." {
>         type hint;
>         file "named.root";
> };
> zone "0.0.127.IN-ADDR.ARPA" {
>         type master;
>         file "localhost.rev";
> };
> zone "8.0.0.0.c.9.f.0.e.e.0.8.e.f.f.3.IP6.INT" {
>         type master;
>         file "m/amour.ipv6.nux.at.rev";
> };
> zone "amour.ipv6.nux.at" {
>         type master;
>         file "m/amour.ipv6.nux.at";
> };
> 
> m/amour.ipv6.nux.at.rev:
> $ORIGIN .
> $TTL 86400
> 8.0.0.0.c.9.f.0.e.e.0.8.e.f.f.3.IP6.INT IN      SOA
> ns1.amour.ipv6.nux.at. root.amour.ipv6.nux.at. (
>                                 2003022201
>                                 3600
>                                 900
>                                 2419200
>                                 86500
>                                 )
>                 NS              ns1.amour.ipv6.nux.at.
>                 NS              ns2.amour.ipv6.nux.at.
> $ORIGIN 8.0.0.0.c.9.f.0.e.e.0.8.e.f.f.3.IP6.INT.
> $ORIGIN
> 0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.8.0.0.0.c.9.f.0.e.e.0.8.e.f.f.3.IP6.INT.
> 1               PTR     ns2.amour.ipv6.nux.at.
> 2               PTR     ns1.amour.ipv6.nux.at.
> $ORIGIN 8.0.0.0.c.9.f.0.e.e.0.8.e.f.f.3.IP6.INT.
> e.b.a.b.e.f.a.c.f.e.e.b.d.e.a.d PTR     amour.amour.ipv6.nux.at.
> 
> m/amour.ipv6.nux.at:
> $ORIGIN .
> $TTL 86400
> amour.ipv6.nux.at       IN      SOA     ns1.amour.ipv6.nux.at.
> root.amour.ipv6.nux.at (
>                         2003022201
>                         3600
>                         900
>                         2419200
>                         86500
>                         )
>                 IN      NS      ns1.amour.ipv6.nux.at.
> $ORIGIN amour.ipv6.nux.at.
> ns1             IN      AAAA    3ffe:80ee:f9c:8::2
> ns2             IN      AAAA    3ffe:80ee:f9c:8::1
> ns2             IN      A       80.110.66.138
> amour           IN      AAAA    3ffe:80ee:f9c:8:dead:beef:cafe:babe
> 
> --- END ---

	Cheers,

	Matthew

-- 
Dr Matthew J Seaman MA, D.Phil.                       26 The Paddocks
                                                      Savill Way
PGP: http://www.infracaninophile.co.uk/pgpkey         Marlow
Tel: +44 1628 476614                                  Bucks., SL7 1TH UK

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20030223100921.GB12731>