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

where inverting the alias order doesn't (only nas is resolved)
dhcp-host=CE:BA:38:E3:7B:DF,nas-2024,nas

After some reading it came up this might be the way dnsmasq is currently handling the first hostname defined after the mac address as opposite to the second one which is considered a pure alias instead.

After some searches I couldn't find any relevant RFC that covers this specific point, the closes I got is RFC 1035 which defines that DNS should allow hyphens in hostnames; but that's it.

I'm just wondering if this behavior is wanted?

Thanks

_______________________________________________
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