IPv4 and v6 daemons generating differnt hashes

Tim Maestas tmaestas95 at gmail.com
Tue Mar 20 23:30:46 UTC 2012


You might want to check out
http://tools.ietf.org/html/draft-ietf-dhc-ddns-resolution-12#section-5.2

The client needs to support using DUID as the client identifier on the
v4 request (and the assumption is it is already doing so on the v6
request) so that the hashed value for the TXT record's rdata will be
the same for both.

You're currently getting different values because the v4 identifier is
probably the MAC while the v6 identifier is DUID (you'd have to check
the implementation to see how exactly that duid is being generated).
Different identifiers = different hash for the TXT record = inability
to add both the A and AAAA records.

-Tim


On Tue, Mar 20, 2012 at 3:30 PM, Eustace, Glen <G.Eustace at massey.ac.nz> wrote:
> I raised this issue a few weeks back and got no reply. It is something I
> need to get sorted out.  Our clients will be using dhcp for both IPv4 and
> IPv6.  They get leases for both but the two dhcp daemons are generating
> different hashes for the DDNS TXT record.  The only way I can get DDNS to
> work is to add ‘update-conflict-detection false’, which is not a desirable
> solution from my perspective.
>
>
>
> Can anyone explain why ?  And hopefully what I need to do to get them both
> using the same hash.
>
>
>
> IPv4 lease file
>
>
>
>   set ddns-rev-name = "62.130.123.130.in-addr.arpa.";
>
>   set ddns-txt = "3117a479b49d44dcf727e59ec488dd5eff";
>
>   set ddns-fwd-name = "it044042-air-win7.massey.ac.nz.";
>
>   client-hostname "agree-17-win7";
>
>
>
> ipv6 lease file
>
>     set ddns-rev-name =
> "9.e.3.0.2.0.0.0.0.0.0.0.0.0.0.0.3.0.9.0.2.0.0.0.0.3.5.4.1.0.0.2.ip6.arpa.";
>
>     set ddns-txt = "02d34400d7e24de150b32eac7cd5706826";
>
>     set ddns-fwd-name = "it044042-air-win7.massey.ac.nz.";
>
> --
>
> Glen Eustace, Infrastructure Development Engineer (BC/DR)
>
> Information Technology Services, Massey University PN460
>
> Private Bag 11222, Palmerston North, New Zealand.
>
> Ph: +64-6-3569099 x 81005, Mob: +64-27-4500321
>
>
>
>
>
>
>
> --
>
> Glen Eustace, Infrastructure Development Engineer (BC/DR)
>
> Information Technology Services, Massey University PN460
>
> Private Bag 11222, Palmerston North, New Zealand.
>
> Ph: +64-6-3569099 x 81005, Mob: +64-27-4500321
>
>
>
>
> _______________________________________________
> 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