Dynamic Update: IPv6 addresses

Kevin Oberman oberman at es.net
Tue Aug 24 18:45:41 UTC 1999


Gustavo <gamador at jungle.bt.co.uk> writes:

> Hi ,
> 
> 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.

The forward lookup is a different type of query, AAAA. The RR is
formatted as a series of colon separated words.
E.g. IP6.NODE.COM. IN AAAA 2001:0100:0040:0000:CB45:300F:2034:FF34

The reverse lookup is no different from IPv4 as far as BIND is
concerned. It's a PTR RR with the address reversed. The example above
would yield a PTR record (assuming no delegation) of:
4.3.F.F.4.3.0.2.F.0.0.3.5.4.B.C.0.0.0.0.0.4.0.0.0.0.1.0.1.0.0.2.IP6.INT. PTR IP6.NODE.COM.
Sorry for the long line.
-- 
R. Kevin Oberman, Network Engineer
Energy Sciences Network (ESnet)
Ernest Orlando Lawrence Berkeley National Laboratory (Berkeley Lab)
E-mail: oberman at es.net				Phone: +1 510 486-8634



More information about the bind-users mailing list