Do you mean this is a system issue rather than a pragram problem?
thanks.
Guten Tag Paulina,
am Montag, 5. August 2019 um 11:58 schrieben Sie:
I have been using Net::DNS::Resolver for DNS queries in handler. Can you
suggest a better way to improve it? maybe AnyEvent::DNS etc?
Things heavily depend on which nameservers you have actually configured
on your system or to be used by your concrete implementation. Changing
Perl packages most likely won't change much, you need to debug where
those timeouts come from exactly.
In the easiest case see what happends if you resolve your problematic
domains manually on some shell, e.g. using nslookup. Than test
resolving with common DNS server like that from Google (8.8.8.8), have
a look at your system resolver settings etc.
https://linux.die.net/man/1/nslookup
https://metacpan.org/pod/Net::DNS::Resolver#new
Mit freundlichen Grüßen,
Thorsten Schöning