Version
v22.12.0
Platform
Microsoft Windows NT 10.0.19045.0 x64
Subsystem
dns
What steps will reproduce the bug?
const dns = require("node:dns");
dns.lookup("localhost", { all: true }, console.log);
How often does it reproduce? Is there a required condition?
Always
What is the expected behavior? Why is that the expected behavior?
In node v22.11.0, both IPv4 and IPv6 addresses are returned:
null [ { address: '::1', family: 6 }, { address: '127.0.0.1', family: 4 } ]
What do you see instead?
In Node v22.12.0, only IPv6 addresses are returned:
null [ { address: '::1', family: 6 } ]
Additional information
No response
Version
v22.12.0
Platform
Subsystem
dns
What steps will reproduce the bug?
How often does it reproduce? Is there a required condition?
Always
What is the expected behavior? Why is that the expected behavior?
In node v22.11.0, both IPv4 and IPv6 addresses are returned:
What do you see instead?
In Node v22.12.0, only IPv6 addresses are returned:
Additional information
No response