Hacked-together dnsmasq API / Frontend