DDNS with v6 & v4

J Carvalho diomar at rmws.net
Fri Jan 28 03:04:18 UTC 2011



Sent from Earth via a carbon-based self-loading lifeform and a trusty portable electronic device with a ridiculously tiny keyboard. 

On Jan 27, 2011, at 20:07, Alan Clegg <aclegg at isc.org> wrote:

> 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
> 
> _______________________________________________
> dhcp-users mailing list
> dhcp-users at lists.isc.org
> https://lists.isc.org/mailman/listinfo/dhcp-users



More information about the dhcp-users mailing list