[Dnsmasq-discuss] dhcp-host matching question
simon at thekelleys.org.uk
Fri Oct 11 15:48:50 BST 2013
On 11/10/13 15:41, Maule Mark wrote:
> If I have dhcp-host directives which can result in multiple host matches, which matches will be applied - all, just the first, just the most specific, etc.?
> For example, say I have the following in a dhcp-hostsfile:
> When *3A issues a dhcp request, which tags will be set? host1match only, or host1match and wildcardmatch ?
Dnsmasq will find at most one dhcp-host line. It searches first for a
matching client-id/DUID, then an complete matching MAC address, then a
matching hostname, and finally the most specific wildcarded MAC address.
More information about the Dnsmasq-discuss