Skip to content

dns: update lookupService() first arg name

Rodrigo Muino Tomonari requested to merge github/fork/cjihrig/dns-err into master

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), or vcbuild test (Windows) passes
  • tests and/or benchmarks are included
  • commit message follows commit guidelines

Merge request reports

Loading