This repository was archived by the owner on Feb 12, 2024. It is now read-only.
This repository was archived by the owner on Feb 12, 2024. It is now read-only.
Find testing strategy for tests that are using DNS #2899
Closed
Description
Multiple tests around in our ecosystem assumes there is a dns resolver that has a connection to the internet. The dependency on internet backbone is something we want to avoid in general, and also we want to make sure the tests are always working as expected.
One idea is to run a local dns server for the process where the tests are running, to use. Then we can setup whatever records we want, and resolve them via .home
for example.
Comes from ipfs-inactive/interface-js-ipfs-core#332 (comment)