services_dnsmasq_domainoverride_edit.php doesn't allow # and !
IP Address field on services_dnsmasq_domainoverride_edit.php should permit IP addresses or # or ! (as noted in the text there). The page currently requires an IP address, so those two functions don't work.
figure Steve can knock this out quickly (or PRs welcome)