Install libnet-dns-lite-perl by entering the following commands in the terminal:
sudo apt update sudo apt install libnet-dns-lite-perl
pure-perl DNS resolver with support for timeout
Net::DNS::Lite provides a replacement function for Socket::inet_aton, with support for timeouts. . Net::DNS::Lite will also cache the DNS responses internally using the supplied cache object.