Open
Description
Version
v20.15.1
Platform
IBM i 7.3:
OS400 idev 3 7 00780002A1F1 powerpc Os
Subsystem
DNS
What steps will reproduce the bug?
Any DNS lookup fails with connection timeout. Can run this code to reproduce:
require("dns").resolve("smtp.office365.com", function() { console.log(arguments); })
Fails with ETIMEOUT
, even though the system DNS configuration is good and other software can perform DNS lookups.
How often does it reproduce? Is there a required condition?
Every time. This started happening when updating to Node 20.15.1 and Node 18.20.4 for IBM i. Everything was working fine before the update. Before, I was using Node 20.11.1 and Node 18.18.2.
What is the expected behavior? Why is that the expected behavior?
I expect a good DNS lookup, as the system DNS configuration is good and most other software can perform lookups.
What do you see instead?
ETIMEOUT on any DNS lookup.
Additional information
An interesting thing we noticed that may relate....
On the affected systems, the NSLOOKUP CL command can perform lookups with no problem, but the nslookup
command in PASE fails with ETIMEOUT for any lookup.