[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: bind9 and ipv6 addresses



dman wrote:

I tried adding this to my local bind zone :

@       IN      AAAA    ::1
@       IN      A6      ::1

when I reloaded the zones, however, this was in the logfile :

named[32616]: dns_rdata_fromtext: /etc/bind/db.local:15: near '::1': unexpected token

Does bind9 (in woody) understand IPv6 addresses?  Do I need to do
something special to make it serve these addresses?


On a more positive note, I just realized that my exim4 build (not yet
packaged for debian) didn't understand v6 addresses.  I looked in the
exim docs and found that I needed HAVE_IPV6=yes in my Makefile.  I set
it and it worked like a charm!  I didn't need to specify any extra
includes or libs.  That was a pleasant experience :-).

TIA,
-D

PS.  hehe, look what sig my random chooser gave us

Ops sorry for the previous email... I miseread the error.

In A6 the correct format is:

ip6-localhost IN A6 0 0::1

the error you get is because is missing the 0 between A6 and the address.
btw I don't rember 100% why it's 0 but the bind documentation can help you.

this is what I have in my dns ..
dns            IN      A6      0 3ffe:100:e:1::1

Fabio


--
To UNSUBSCRIBE, email to debian-ipv6-request@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org



Reply to: