-
Notifications
You must be signed in to change notification settings - Fork 76
Description
The current set of integration tests for Orders and dns-01 Challenges can take a potentially long time to validate either the existence or lack thereof a test record in the DNS system.
The code for this DNS testing does a normal DNS look up which goes through local system's DNS resolver and can be impacted by various caching points but ultimately it can have a wide range of wait times.
For example in the Windows tests the wait for deleted records takes as much as 4.5 minutes (search for _IsDeleted_) and over 1 minute for testing for the existence of newly created records (search for _Exists_).
However in the same set of tests on Linux the same corresponding tests take can take as little as 10 seconds.
In order to provider more consistent and predictable behavior and speed up the execution of the tests in general, it would be useful to improve DNS lookups to resolve the DNS provider specific to the test record domain and then query the provider's DNS servers directly, i.e. resolve the DNS NS records for the target root domain.