Use Net::DNS to query in/external dns