Fix timeout for DNS queries and more verbose output