dnsResolve: use `dns.resolve4()`

The `dnsResolve()` function assumes IPv4.
dnsResolve: return a "string", not an Array

Simply return the first returned IP address in the array.