On 27.11.24 10:37, Ercolino de Spiacico wrote:
I run into a minor issue (or so I believe to be) trying to setup a
double alias to a single mac address retaining the dynamic IP and
using the dhcp-host directive.
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 )
This would suggest you should use something like:
dhcp-host=CE:BA:38:E3:7B:DF,nas
cname=nas-2024,nas
Kind regards,
Buck
_______________________________________________
Dnsmasq-discuss mailing list
Dnsmasq-discuss@lists.thekelleys.org.uk
https://lists.thekelleys.org.uk/cgi-bin/mailman/listinfo/dnsmasq-discuss