doc: simply dns.ADDRCONFIG language
PR-URL: https://github.com/nodejs/node/pull/34155 Reviewed-By: Anna Henningsen <anna@addaleax.net> Reviewed-By: James M Snell <jasnell@gmail.com>
This commit is contained in:
parent
07bbadb2c7
commit
907829b1a4
@ -227,10 +227,9 @@ changes:
|
|||||||
|
|
||||||
The following flags can be passed as hints to [`dns.lookup()`][].
|
The following flags can be passed as hints to [`dns.lookup()`][].
|
||||||
|
|
||||||
* `dns.ADDRCONFIG`: Returned address types are determined by the types
|
* `dns.ADDRCONFIG`: Limits returned address types to the types of non-loopback
|
||||||
of addresses supported by the current system. For example, IPv4 addresses
|
addresses configured on the system. For example, IPv4 addresses are only
|
||||||
are only returned if the current system has at least one IPv4 address
|
returned if the current system has at least one IPv4 address configured.
|
||||||
configured. Loopback addresses are not considered.
|
|
||||||
* `dns.V4MAPPED`: If the IPv6 family was specified, but no IPv6 addresses were
|
* `dns.V4MAPPED`: If the IPv6 family was specified, but no IPv6 addresses were
|
||||||
found, then return IPv4 mapped IPv6 addresses. It is not supported
|
found, then return IPv4 mapped IPv6 addresses. It is not supported
|
||||||
on some operating systems (e.g FreeBSD 10.1).
|
on some operating systems (e.g FreeBSD 10.1).
|
||||||
|
Loading…
x
Reference in New Issue
Block a user