initialise the resolver config for the DNS resolution (how was this even working before?!)

This commit is contained in:
Oliver Gorwits
2022-08-15 08:32:13 -04:00
parent ba15cd08a2
commit c375b11cb0

View File

@@ -50,6 +50,7 @@ sub hostnames_resolve_async {
my $skip = setting('dns')->{'no'};
my $ETCHOSTS = setting('dns')->{'ETCHOSTS'};
AnyEvent::DNS::resolver->timeout(@$timeouts);
AnyEvent::DNS::resolver->os_config();
# Set up the condvar
my $done = AE::cv;