The host filtering was implemented incorrectly; dhcpleases does not write to a file if a command is given, dnsmasq did not read the instance-specific hosts file due to the use of the wrong parameter and not all static leases were registered correctly. The helper program used to filter hosts now contains an almost complete implementation of the functionality of dhcpleases...