aptly icon indicating copy to clipboard operation
aptly copied to clipboard

nosuch.host tests fail when building on a host where wildcard dns entries are available

Open jennes opened this issue 2 years ago • 1 comments

When building on a host which has whose DNS search list contains a wildcard domain, tests fail

Detailed Description

Assume a host where the local search domain contains a wildcard alias *.example, then nosuch.host will be resolved as nosuch.host.example which then very well exists.

As host may become a valid TLD some day, it might be clever anyways, to switch to .invalid. TLD as recommended by RFC2606.

Context

Should there be another user in a similar environment, he couldn't successfully test the code basis although the error is not to be located in the code but the build environment.

Possible Implementation

I'm already preparing a pull request

Your Environment

nosuch.host (without a dot at the end) actually resolves!

jennes avatar Nov 08 '23 14:11 jennes

Hmm, Github's CI doesn't like "nosuch.host.invalid." Don't know how to proceed.

jennes avatar Nov 08 '23 14:11 jennes