user avatar
Handle failed DNS case for Go 1.20+
Matt Farina authored
Go 1.20 introduced DNS/CNAME handling changes. This can cause an
IP address represented in hex, oct, etc to be looked up as DNS and
fail. This change introduces a mock DNS resolver.

Note, with the mock resolver, we don't need to use 0x7f000001 any
longer. Keeping because it was already there.

Signed-off-by: default avatarMatt Farina <matt.farina@suse.com>
046646c9
Name Last commit Last update