[Dnsmasq-discuss] dnsmasq handling of duplicate hostnames

mike at farmwald.com mike at farmwald.com
Sat May 12 01:19:19 BST 2018


>From testing, it appears that dnsmasq ignores duplicate hostnames, i.e. if
mac1 and mac2 have the same hostname, then one of them (the first to
request?) gets the name, and the other(s) get a blank name.
If this is correct, could this be changed to add a suffix to the duplicate
names, e.g.:
Mac1 Hostname
Mac2 Hostname(2)
Mac3 Hostname(3), etc.

Note that any modified name would be fine:  Hostname_2, Hostname-2, etc.

Instead of the current:
Mac1 Hostname
Mac2 <blank>
Mac3 <blank>

Thanks.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.thekelleys.org.uk/pipermail/dnsmasq-discuss/attachments/20180511/289b5ff1/attachment.html>


More information about the Dnsmasq-discuss mailing list