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

Re: DDNS and IPv6



On Thu, 2006-07-06 at 09:30 +1000, Peter Chub wrote:
> How can I get automatically assigned addresses (e.g., by radvd) into
> my Bind9 server?  Ipv4 addresses are updated by dhcpd via ddns; how
> can I make ipv6 addresses do the same thing?

I know of two ways:

1) drop radvd usage and use dhcpv6 (dibbler works) then you are using
dhcp all the way and that also supports the ddns options. This makes it
fully server-side, that is the dhcp server updates your dns.

2) Client side, by using nsupdate and having some manual scripting
eg using the nsupdate command. I once cooked the following up for
Windows boxes:
http://unfix.org/~jeroen/archive/Windows_DynamicDNS_Update.zip

It's the update.cmd script which is important. One just has to pass the
correct stuff to the nsupdate command and have the key on the local box
which needs to do the updates. This thus directly updates the DNS at the
server side and needs quite some configging.

eg:
server 2001:db8::53
update delete hostname.example.org AAAA
update add hostname.example.org AAAA 2001:db8::42
send

updates hostname.example.org's current IP address to 2001:db8::42 when
passing that o nsupdate.

I got off doing ddns though as it gives a mess when one nicely types the
zone files manually. If you have a db that is not a worry. The solution
though is simple: use a ddns.example.org domain and have
hostname.example.org CNAME hostname.ddns.example.org and have the
updates be sent to ddns.example.org, that only peeps up the ddns zone.

Greets,
 Jeroen

Attachment: signature.asc
Description: This is a digitally signed message part


Reply to: