I'm using OpenWrt 18.06.1 r7258-5eb055306f.
What I want to do is map 3 different subnets to different subdomains.
192.168.0.0/26 --> man.blue-eyes
192.168.3.0/24 --> lan.blue-eyes
192.168.4.0/30 --> dmz.blue-eyes
I used uci to do this. Here's resulting /etc/config/dhcp...
config dnsmasq option domainneeded '1' option localise_queries '1' option rebind_protection '1' option rebind_localhost '1' option expandhosts '1' option readethers '1' option leasefile '/tmp/dhcp.leases' option resolvfile '/tmp/resolv.conf.auto' option nonwildcard '1' option localservice '1' option local '/blue-eyes/' option authoritative '1' list domain 'man.blue-eyes,192.168.0.0/26,local' list domain 'lan.blue-eyes,192.168.3.0/24,local' list domain 'dmz.blue-eyes,192.168.4.0/30,local' ...
but this doensn't work and screws uo all dns routing in the process.
On two subnets there are alot of clients and I want to be able to see which subdomain they are coming from.
eg: fred.man.blue-eyes <=> 192.168.0.21
fran.lan.blue-eyes <=> 192.168.3.65
I'm a novice with dnsmasq/openwrt and would really appreciate help in getting this resolved.