Handle OSX lack of dnsdomainname command