@@ -773,6 +773,10 @@ one of the [DNS error codes][].
773773added:
774774 - v16.4.0
775775 - v14.18.0
776+ changes:
777+ - version: v17.0.0
778+ pr-url: https://github.com/nodejs/node/pull/39987
779+ description: Changed default value to `verbatim`.
776780-->
777781
778782* ` order ` {string} must be ` 'ipv4first' ` or ` 'verbatim' ` .
@@ -783,7 +787,7 @@ Set the default value of `verbatim` in [`dns.lookup()`][] and
783787* ` ipv4first ` : sets default ` verbatim ` ` false ` .
784788* ` verbatim ` : sets default ` verbatim ` ` true ` .
785789
786- The default is ` ipv4first ` and [ ` dns.setDefaultResultOrder() ` ] [ ] have higher
790+ The default is ` verbatim ` and [ ` dns.setDefaultResultOrder() ` ] [ ] have higher
787791priority than [ ` --dns-result-order ` ] [ ] . When using [ worker threads] [ ] ,
788792[ ` dns.setDefaultResultOrder() ` ] [ ] from the main thread won't affect the default
789793dns orders in workers.
@@ -1328,6 +1332,10 @@ is one of the [DNS error codes][].
13281332added:
13291333 - v16.4.0
13301334 - v14.18.0
1335+ changes:
1336+ - version: v17.0.0
1337+ pr-url: https://github.com/nodejs/node/pull/39987
1338+ description: Changed default value to `verbatim`.
13311339-->
13321340
13331341* ` order ` {string} must be ` 'ipv4first' ` or ` 'verbatim' ` .
@@ -1338,7 +1346,7 @@ Set the default value of `verbatim` in [`dns.lookup()`][] and
13381346* ` ipv4first ` : sets default ` verbatim ` ` false ` .
13391347* ` verbatim ` : sets default ` verbatim ` ` true ` .
13401348
1341- The default is ` ipv4first ` and [ ` dnsPromises.setDefaultResultOrder() ` ] [ ] have
1349+ The default is ` verbatim ` and [ ` dnsPromises.setDefaultResultOrder() ` ] [ ] have
13421350higher priority than [ ` --dns-result-order ` ] [ ] . When using [ worker threads] [ ] ,
13431351[ ` dnsPromises.setDefaultResultOrder() ` ] [ ] from the main thread won't affect the
13441352default dns orders in workers.
0 commit comments