Skip to content

Commit a9302b5

Browse files
Trottaddaleax
authored andcommitted
doc: simply dns.ADDRCONFIG language
PR-URL: #34155 Reviewed-By: Anna Henningsen <[email protected]> Reviewed-By: James M Snell <[email protected]>
1 parent 44246e6 commit a9302b5

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

doc/api/dns.md

+3-4
Original file line numberDiff line numberDiff line change
@@ -225,10 +225,9 @@ changes:
225225

226226
The following flags can be passed as hints to [`dns.lookup()`][].
227227

228-
* `dns.ADDRCONFIG`: Returned address types are determined by the types
229-
of addresses supported by the current system. For example, IPv4 addresses
230-
are only returned if the current system has at least one IPv4 address
231-
configured. Loopback addresses are not considered.
228+
* `dns.ADDRCONFIG`: Limits returned address types to the types of non-loopback
229+
addresses configured on the system. For example, IPv4 addresses are only
230+
returned if the current system has at least one IPv4 address configured.
232231
* `dns.V4MAPPED`: If the IPv6 family was specified, but no IPv6 addresses were
233232
found, then return IPv4 mapped IPv6 addresses. It is not supported
234233
on some operating systems (e.g FreeBSD 10.1).

0 commit comments

Comments
 (0)