--dns-result-order=order


版本历史
版本变更
v22.1.0

现在支持 ipv6first

v17.0.0

将默认值更改为 verbatim

v16.4.0, v14.18.0

新增于: v16.4.0, v14.18.0

dns.lookup()dnsPromises.lookup() 中设置 order 的默认值。该值可能是:

\Set the default value of order in dns.lookup() and dnsPromises.lookup(). The value could be:

  • ipv4first:将默认 order 设置为 ipv4first

    \ipv4first: sets default order to ipv4first.

  • ipv6first:将默认 order 设置为 ipv6first

    \ipv6first: sets default order to ipv6first.

  • verbatim:将默认 order 设置为 verbatim

    \verbatim: sets default order to verbatim.

默认为 verbatim,并且 dns.setDefaultResultOrder() 的优先级高于 --dns-result-order

\The default is verbatim and dns.setDefaultResultOrder() have higher priority than --dns-result-order.

AltStyle によって変換されたページ (->オリジナル) /