Dnsmasq domains via dhcp

Hello everyone,

I'm having some problems assigning multiple domains to different interfaces. I followed the guide in the wiki for multiple dnsmasq instances but i can't get it to work.

Here's my config

[details=dhcp.conf]config dnsmasq 'local'
option domainneeded '1'
option boguspriv '1'
option localise_queries '1'
option rebind_protection '1'
option rebind_localhost '1'
option local '/local/'
option domain 'local'
option expandhosts '1'
option authoritative '1'
option readethers '1'
option leasefile '/tmp/dhcp.leases'
option resolvfile '/tmp/resolv.conf.auto'
option nonwildcard '1'
list interface 'lan'

config dnsmasq 'esxi'
option domainneeded '1'
option boguspriv '1'
option localise_queries '1'
option rebind_protection '1'
option rebind_localhost '1'
option local '/local/'
option domain 'corp.local'
option expandhosts '1'
option authoritative '1'
option readethers '1'
option leasefile '/tmp/dhcp.leases.vmnet'
option resolvfile '/tmp/resolv.conf.vmnet'
option strictorder '1'
option nonwildcard '1'
list interface 'vmnet'
list notinterface 'lo'

config dhcp 'lan'
option instance 'local'
option interface 'lan'
option start '200'
option limit '50'
option leasetime '1h'
option ra 'server'
option dhcpv6 'disabled'

config dhcp 'wan'
option interface 'wan'
option ignore '1'

config odhcpd 'odhcpd'
option maindhcp '0'
option leasefile '/tmp/hosts/odhcpd'
option leasetrigger '/usr/sbin/odhcpd-update'

config host
option instance 'esxi'
option name 'pxe01'
option mac '00:12:49:15:cc:ac'
option ip '172.23.10.10'
option leasetime '3d'[/details]

I would like to assign *.corp.local to the vmnet interface and *.local to the lan interface and access via their dns on both networks, so far everything still gets .local