Skip to content

Commit 907829b

Browse files
Trottjasnell
authored andcommitted
doc: simply dns.ADDRCONFIG language
PR-URL: #34155 Reviewed-By: Anna Henningsen <anna@addaleax.net> Reviewed-By: James M Snell <jasnell@gmail.com>
1 parent 07bbadb commit 907829b

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

doc/api/dns.md

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -227,10 +227,9 @@ changes:
227227

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

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

0 commit comments

Comments
 (0)