mx record: check if dnsmasq is enabled. Refs #2915