Skip to content

Commit

Permalink
add dns.CONNREFUSED
Browse files Browse the repository at this point in the history
  • Loading branch information
Hiroyuki Okada authored and andris9 committed Dec 2, 2019
1 parent 505c3f9 commit 5c4c8ca
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/shared/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ const resolver = (family, hostname, callback) => {
case dns.NOTFOUND:
case dns.NOTIMP:
case dns.SERVFAIL:
case dns.CONNREFUSED:
case 'EAI_AGAIN':
return callback(null, []);
}
Expand Down

0 comments on commit 5c4c8ca

Please sign in to comment.