diff --git a/lib/alias.js b/lib/alias.js index c58bdf9..cedfdc1 100644 --- a/lib/alias.js +++ b/lib/alias.js @@ -282,7 +282,7 @@ export default class Alias extends Now { try { ips = await resolve4(domain); } catch (err) { - if ('ENODATA' === err.code || 'ENOTFOUND' === err.code) { + if ('ENODATA' === err.code || 'ESERVFAIL' === err.code || 'ENOTFOUND' === err.code) { // not errors per se, just absence of records if (this._debug) console.log(`> [debug] No records found for "${domain}"`); } else {