DDNS with v6 & v4

Alan Clegg aclegg at isc.org
Fri Jan 28 01:07:58 UTC 2011


On 1/27/2011 1:21 PM, Jarrod Johnson wrote:
> So I have dhcpd running for IPv4 and another for IPv6.  When a client
> performs the first DHCP (in this example, IPv6) and triggers the dhcp
> server to do the ddns up, all is well:

[..]

> If I scrub everything clean, everything will be fine for the A record,
> but I cannot seem to make the DHCP servers handle both the A and the
> AAAA record at the same time.  Is there a way to take care of this?
>  This is the dhcpd variant as shipped by Red Hat in RHEL6.

I have the following in my dhcpd.conf:

> ddns-hostname = pick (option fqdn.hostname, option host-name,
>         binary-to-ascii (16, 8, "-", substring (hardware, 1, 6)));

and this in my dhcpd6.conf:

> ddns-hostname = pick(concat(option fqdn.hostname,"-v6"),
>                      concat(option host-name,"-v6"),
>                 concat("dyn-",binary-to-ascii(16,16,"-",
>                 substring(option dhcp6.ia-na, 16, 16))));

so I end up with hostname.domain.com in v4 and hostname-v6.domain.com in
v6. Yeah, it stinks and things are being done to work around this, but
for now...

AlanC

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 196 bytes
Desc: OpenPGP digital signature
URL: <https://lists.isc.org/pipermail/dhcp-users/attachments/20110127/aafa7c8b/attachment.bin>


More information about the dhcp-users mailing list