温馨提示:本站仅提供公开网络链接索引服务,不存储、不篡改任何第三方内容,所有内容版权归原作者所有
AI智能索引来源:http://www.bun.com/reference/node/dns/LookupAllOptions/order
点击访问原文链接

property order | Node.js dns module | Bun

property order | Node.js dns module | BunBuildDocsReferenceGuidesBlogDiscord/node:dns/LookupAllOptions/orderPorder

Search the reference...

/

BuildDocsReferenceGuidesBlogDiscord/node:dns/LookupAllOptions/orderPorder

property

dns.LookupAllOptions.orderorder?: 'ipv4first' | 'ipv6first' | 'verbatim'

When verbatim, the resolved addresses are return unsorted. When ipv4first, the resolved addresses are sorted by placing IPv4 addresses before IPv6 addresses. When ipv6first, the resolved addresses are sorted by placing IPv6 addresses before IPv4 addresses. Default value is configurable using setDefaultResultOrder or --dns-result-order.

Resources

ReferenceDocsGuidesDiscordMerch StoreGitHubBlog 

Toolkit

RuntimePackage managerTest runnerBundlerPackage runner

Project

Bun 1.0Bun 1.1Bun 1.2Bun 1.3RoadmapContributingLicense

Baked with ❤️ in San Francisco

We're hiring →

property order | Node.js dns module | Bun,AI智能索引,全网链接索引,智能导航,网页索引

    When `verbatim`, the resolved addresses are return unsorted. When `ipv4first`, the resolved addresses are sorted by placing IPv4 addresses before IPv6 addresses. When `ipv6first`, the resolved addresses are sorted by placing IPv6 addresses before IPv4 addresses. Default value is configurable using setDefaultResultOrder or [`--dns-result-order`](https://nodejs.org/docs/latest-v25.x/api/cli.html#--dns-result-orderorder).