[Dnsmasq-discuss] Reg: Info related to leases file

Vladislav Grishenko themiron at mail.ru
Tue Sep 24 13:01:53 BST 2013


> Out of the three types:  DUID-LLT, DUID-EN and DUID-LL, which one is used
> by dnsmasq? I am asking because I want to confirm whether the MAC
> address of the network interface is always a substring of the client DUID
or
> not.

1. DUID-EN, if --dhcp-duid specified
2. DUID-LL from MAC of the first suitable interface, if HAVE_BROKEN_RTC
defined
3. DUID-LLT from MAC of the first suitable interface for all other cases

FYI, as per RFC3315 DUIDs should be treated as opaque values only:
> 9. DHCP Unique Identifier (DUID)
> Clients and servers MUST treat DUIDs as opaque values and MUST only
> compare DUIDs for equality.  Clients and servers MUST NOT in any
> other way interpret DUIDs.

Best Regards, Vladislav Grishenko






More information about the Dnsmasq-discuss mailing list