Dear list,

Basically, this syntax works for both aliases:
dhcp-host=CE:BA:38:E3:7B:DF,nas,nas-2024

It would be interesting to know whether there are additional definitions
for nas or nas-2024 somewhere in your configuration.
I'm surprised your dhcp-host works at all.

According to dnsmasq's documentation, dhcp-host only allows one hostname:

 > Only one hostname can be given in a --dhcp-host option, but aliases
are possible by using CNAMEs. (See --cname )

Looking at the code in src/option.c it seems the behavior is dhcp-host will accept any number of hostnames when parsing, but only use the latest parsed hostname.

To me, this seems like a bug. At least, it is in my opinion poor usability that previous hostnames are silently ignored.

Best,
Reynir Björnsson

_______________________________________________
Dnsmasq-discuss mailing list
Dnsmasq-discuss@lists.thekelleys.org.uk
https://lists.thekelleys.org.uk/cgi-bin/mailman/listinfo/dnsmasq-discuss

Reply via email to