Map sub-domains to different subnets

I'm using OpenWrt 18.06.1 r7258-5eb055306f.
What I want to do is map 3 different subnets to different subdomains.
eg: --> --> -->

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/'
	option nonwildcard '1'
	option localservice '1'
	option local '/blue-eyes/'
	option authoritative '1'
	list domain ',,local'
	list domain ',,local'
	list domain ',,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: <=> <=>

I'm a novice with dnsmasq/openwrt and would really appreciate help in getting this resolved.

Have you created the dhcp.interface_name sections accordingly?
There was already one for the lan, but you'd have to create new ones for the new interfaces.