Skip to content

Conversation

@edwinclement08
Copy link

@edwinclement08 edwinclement08 commented Aug 4, 2022

This prevents adding IPv6 resolution if only IPv4 is requested.

We had a client with a misconfigured DNS server that times out and fails with SERVFAIL(on IPv6).
Without this patch, the lookup fails even though the IPv4 promise has been resolved with the IP.

@szmarczak
Copy link
Owner

Can you add a test for this? Just to confirm that it works.

@edwinclement08
Copy link
Author

Can you add a test for this? Just to confirm that it works.

Getting this error when trying to run the tests on 6.0.4.
Are the tests broken or something beyond npm install is needed to set up the test cases?

image

@szmarczak
Copy link
Owner

It should just work. Can you try npx ava --serial?

@edwinclement08
Copy link
Author

Nope, just timing out
image

Will check in depth another time

@szmarczak
Copy link
Owner

What OS are you running?

@edwinclement08
Copy link
Author

edwinclement08 commented Aug 4, 2022 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants