re-writes runDNS for debian