Open adam12 opened 2 months ago
@adam12 are you still running into this discrepancy?
Still observed, using 1.1.31.
Thanks for sharing! That’s really interesting—I’m not sure why this is happening. I've checked with a few others using macOS, and they’ve observed the correct behavior, so there might be something unusual going on with Bun in this case.
What version of Bun is running?
1.1.22-debug+e585f900c
What platform is your computer?
Darwin 23.5.0 arm64 arm
What steps can reproduce the bug?
What is the expected behavior?
What do you see instead?
No response
Additional information
Nodejs appears to return the correct result on macOS.
Switching to
c-ares
backend and usingdns.lookup
directly seems to be correct.