Kresd does not honor the expandhosts config option

Actually, this might interest you if I understand it right. The domain option in dnsmasq is served over DHCP and some clients then try to append it to DNS names when they search for them (depending on their configuration and circumstances like the number of dots in the name). Dnsmasq: customize search domain