@@ -63,7 +63,7 @@ added: v8.3.0
6363
6464An independent resolver for DNS requests.
6565
66- Note that creating a new resolver uses the default server settings. Setting
66+ Creating a new resolver uses the default server settings. Setting
6767the servers used for a resolver using
6868[ ` resolver.setServers() ` ] [ `dns.setServers()` ] does not affect
6969other resolvers:
@@ -212,7 +212,7 @@ of addresses supported by the current system. For example, IPv4 addresses
212212are only returned if the current system has at least one IPv4 address
213213configured. Loopback addresses are not considered.
214214- ` dns.V4MAPPED ` : If the IPv6 family was specified, but no IPv6 addresses were
215- found, then return IPv4 mapped IPv6 addresses. Note that it is not supported
215+ found, then return IPv4 mapped IPv6 addresses. It is not supported
216216on some operating systems (e.g FreeBSD 10.1).
217217
218218## dns.lookupService(address, port, callback)
@@ -582,7 +582,7 @@ The [`dns.setServers()`][] method affects only [`dns.resolve()`][],
582582` dns.resolve*() ` and [ ` dns.reverse() ` ] [ ] (and specifically * not*
583583[ ` dns.lookup() ` ] [ ] ).
584584
585- Note that this method works much like
585+ This method works much like
586586[ resolve.conf] ( http://man7.org/linux/man-pages/man5/resolv.conf.5.html ) .
587587That is, if attempting to resolve with the first server provided results in a
588588` NOTFOUND ` error, the ` resolve() ` method will * not* attempt to resolve with
@@ -604,7 +604,7 @@ added: v10.6.0
604604
605605An independent resolver for DNS requests.
606606
607- Note that creating a new resolver uses the default server settings. Setting
607+ Creating a new resolver uses the default server settings. Setting
608608the servers used for a resolver using
609609[ ` resolver.setServers() ` ] [ `dnsPromises.setServers()` ] does not affect
610610other resolvers:
@@ -1032,7 +1032,7 @@ An error will be thrown if an invalid address is provided.
10321032The ` dnsPromises.setServers() ` method must not be called while a DNS query is in
10331033progress.
10341034
1035- Note that this method works much like
1035+ This method works much like
10361036[ resolve.conf] ( http://man7.org/linux/man-pages/man5/resolv.conf.5.html ) .
10371037That is, if attempting to resolve with the first server provided results in a
10381038` NOTFOUND ` error, the ` resolve() ` method will * not* attempt to resolve with
@@ -1083,16 +1083,16 @@ as most other programs. For instance, [`dns.lookup()`][] will almost always
10831083resolve a given name the same way as the ` ping ` command. On most POSIX-like
10841084operating systems, the behavior of the [ ` dns.lookup() ` ] [ ] function can be
10851085modified by changing settings in nsswitch.conf(5) and/or resolv.conf(5),
1086- but note that changing these files will change the behavior of _ all other
1087- programs running on the same operating system _ .
1086+ but changing these files will change the behavior of all other
1087+ programs running on the same operating system .
10881088
10891089Though the call to ` dns.lookup() ` will be asynchronous from JavaScript's
10901090perspective, it is implemented as a synchronous call to getaddrinfo(3) that runs
10911091on libuv's threadpool. This can have surprising negative performance
10921092implications for some applications, see the [ ` UV_THREADPOOL_SIZE ` ] [ ]
10931093documentation for more information.
10941094
1095- Note that various networking APIs will call ` dns.lookup() ` internally to resolve
1095+ Various networking APIs will call ` dns.lookup() ` internally to resolve
10961096host names. If that is an issue, consider resolving the hostname to an address
10971097using ` dns.resolve() ` and using the address instead of a host name. Also, some
10981098networking APIs (such as [ ` socket.connect() ` ] [ ] and [ ` dgram.createSocket() ` ] [ ] )
0 commit comments