Install libpoe-component-resolver-perl by entering the following commands in the terminal:
sudo apt update sudo apt install libpoe-component-resolver-perl
POE Component for domain name resolution
POE::Component::Resolver is a Perl module that provides nonblocking domain name resolution by using Socket::GetAddrInfo's getaddrinfo() function in subprocesses where they are permitted to block indefinitely. . By default, it will use a maximum of eight subprocesses and prefer address families in whatever order Socket::GetAddrInfo returns them. These defaults can be overridden with constructor parameters.