Fix bad calls to dnslookup.