tidy
replace internal name resolving by using Net::DNS