Dynamic Update: IPv6 addresses
Michael Fuhr
mfuhr at dimensional.com
Wed Aug 25 13:50:30 UTC 1999
Kevin Oberman <oberman at es.net> writes:
> Gustavo <gamador at jungle.bt.co.uk> writes:
>
> > I am interesting in doing dynamic IPv6 updates, as soon as a host have
> > a dynamic IPv6 address
> > in our DNS system we want to update the DNS. But I am getting some
> > problems; I am
> > using the Net::DNS perl scripts library:
> > http://www.fuhr.net/~mfuhr/perldns/
> > When updating an IPv4 address everything's right, but when I try with an
> > IPv6 I get
> > a FORMERR RCODE ( RFC 2136). Is it because you don't already support
> > all IPv6
> > functionalities ?
>
> Recent releases of BIND (to at least 8.1) do support IPv6 addresses. I
> suspect that the formatting of the update request is incorrect. I have
> never looked at how/if NET::DNS handles IPv6 stuff.
BIND 8 may support queries for AAAA records but it doesn't appear to
support dynamic updates for them yet. If you turn on tracing ("ndc trace")
you'll get the following in your logs:
datagram from [127.0.0.1].1904, fd 24, len 62
req_update: section ZONE, count 1
req_update: update request for zone update.test, class IN
unknown type 28
req_update: failed to expand record
free_rrecp: update transaction aborted, rolling back
The "unknown type 28" message appears to be coming from rdata_expand()
in ns_update.c because there's no case statement for T_AAAA (type 28).
--
Michael Fuhr
http://www.fuhr.org/~mfuhr/
More information about the bind-users
mailing list