I am having an issue with dnsmasq on 3 separate interfaces.
This has always worked correctly but somewhere along the way of upgrading to openwrt version 22.x things started to get messy:
In /tmp/hosts/dhcp.* I get all systems in every dhcp file:
if i understand correctly you upgraded from previous version keeping your configuration which is not the recommendation devs made. might worth a shot (after taking backup) to start from scratch.
But i guess your actual problem is that there is no dedicated option dhcphostsfile for each dhsnamsq instance.
I think these are created from entries in /etc/config/dhcp:
config host
option mac '00:05:cd:43:54:77'
option leasetime '24h'
option dns '1'
option ip '192.168.178.13'
option name 'x4100'
But then this is the result:
/tmp/hosts/ :
dhcp.guest_dns:192.168.178.13 x4100.blabla.guest
dhcp.lan_dns:192.168.178.13 x4100.blabla.lan
dhcp.vpnlan_dns:192.168.178.13 x4100.blabla.vpn
Only "problem" is that u can't do this from the gui...
so in /etc/config/dhcp:
config host
option mac '00:05:cd:43:54:77'
option leasetime '24h'
option dns '1'
option ip '192.168.178.13'
option name 'x4100'
**option instance 'lan_dns'**
yes, that is needed. but i assumed as you already used option instance elsewhere, you'd use the same approach for config host too. anyhow, glad you found the solution.