diff --git a/doc/api/cli.md b/doc/api/cli.md index 055eac22f6f0a2..4c4e16b67706a9 100644 --- a/doc/api/cli.md +++ b/doc/api/cli.md @@ -181,6 +181,17 @@ Make built-in language features like `eval` and `new Function` that generate code from strings throw an exception instead. This does not affect the Node.js `vm` module. +### `--dns-order=value` + + +Set the default value of `verbatim` in [`dns.lookup()`][]. The value could be: +* `ipv4`: Set default `verbatim` `false`. +* `verbatim`: Set default `verbatim` `true`. + +Otherwise, default `verbatim` will be decided by Node.js. + ### `--enable-fips` + +* {boolean} + +By default set to `false`. Determines the default value of `verbatim` when +it's not passed to [`dns.lookup()`][] or [`dnsPromises.lookup()`][]. + +Configurable using the [`--dns-order`][] CLI option. Change `dns.verbatim` +will override the [`--dns-order`][] option. + ## DNS promises API