Is there a way to make dnsmasq DHCP support duplicate hostnames?

Started by Dmonroe, July 26, 2025, 05:39:38 PM

Previous topic - Next topic
As part of upgrading to 25.7 I also tried to migrate from ISC to dnsmasq since I could export my static resrvations now. However, I have a bunch of smart switches on an IOT VLAN that all identify themselves as "Meross_Smart_Switch". ISC was perfectly fine with multiple devices having the same hostname, but it appears dnsmasq is not. I set the "DHCP FQDN" option and it didn't help. I'm aware I could solve this by making each and every smart switch a static reservation with a unique name, but I don't want to do that since they don't need static IPs and the only reason to do this would be to work around this limitation of dnsmasq. I've rolled back to ISC for now, is there a setting I'm missing somewhere that will make this work of am I stuck with ISC?

I do not quite understand what the problem is? The first switch to get a dynamic DHCP IP should succeed in bot acquiring an address and register its name in DNS. What happens with the second one? Does it get no IP? Because, if it does, it does not really matter how/if DNS is handled.
Intel N100, 4* I226-V, 2* 82559, 16 GByte, 500 GByte NVME, ZTE F6005

1100 down / 800 up, Bufferbloat A+

Ok, turns out my problems weren't actually being caused by the duplicate hostnames. No idea what it actually was, but when I rebuilt it from scratch it stopped happening.