dns: update lookupService() first arg name
The first argument to lookupService()
should be an IP address, and is named "address"
in the documentation. This commit updates the code to match the documentation and provide less confusing errors.
Fixes: https://github.com/nodejs/node/issues/29039
Checklist
-
make -j4 test
(UNIX), orvcbuild test
(Windows) passes -
tests and/or benchmarks are included -
commit message follows commit guidelines