# 使用 npm 安装 dns-query

查看 dns-query 的安装路径、可执行文件、元数据以及面向 AI 代理工作流的安全说明。

## 安装

```sh
sudo av install npm:dns-query
```

其他安装命令:

### 便携式和语言管理器

- npm (100%):

```sh
npm install -g dns-query
```

  证据: local npm package metadata

## 软件包事实

- **软件包键:** npm:dns-query
- **软件包管理器:** npm
- **软件包管理器页面:** <https://www.npmjs.com/package/dns-query>
- **版本:** 0.11.2
- **来源摘要:** Node & Browser tested, Non-JSON DNS over HTTPS fetching with minimal dependencies.
- **主页:** <https://github.com/martinheidegger/dns-query#readme>
- **仓库:** <https://github.com/martinheidegger/dns-query>
- **上游文档:** <https://github.com/martinheidegger/dns-query#readme>
- **许可证:** MIT
- **源码归档:** <https://registry.npmjs.org/dns-query/-/dns-query-0.11.2.tgz>
- **问题跟踪器:** <https://github.com/martinheidegger/dns-query/issues>
- **发布时间:** 2022-07-20T07:46:28.949Z
- **最后更新:** 2022-07-20T07:46:28.949Z
- **已生成:** 2026-07-08T18:08:21+00:00

## 可执行文件

- dns-query (cli)
- dns-query (别名)

## 依赖

- @leichtgewicht/base64-codec
- @leichtgewicht/dns-packet
- @leichtgewicht/dns-socket
- @leichtgewicht/ip-codec
- utf8-codec

## 构建依赖

- @definitelytyped/dtslint
- @leichtgewicht/dnsstamp
- @leichtgewicht/esm2umd
- abort-controller
- browserify
- c8
- envify
- fresh-tape
- markdown-it
- ngrok
- p-filter
- standard
- tape-run
- typescript
- xhr2

## 安装行为

- post-install 钩子: 未定义
- npm 生命周期脚本: prepare
- Bottle: 不可用

## 版本和新鲜度

- 页面生成时间: 2026-07-08
- 管理器版本: 0.11.2
- 管理器更新时间: 2022-07-20
- 本地数据: OK
- 上游仓库: https://github.com/martinheidegger/dns-query
- 警告: The package-manager record has not been updated in over a year.
- 信息: No cached GitHub release or tag data was available.

## 安全说明

没有找到 dns-query 的匹配本地密钥处理 manifest。Nucleus 软件包元数据仍在此发布，以便未来覆盖拥有稳定的软件包 URL。


## 源数据库详情

- **Source Database:** npm registry
- **Dist Tags:** Latest: 0.11.2
- **Version Count:** 10
- **Maintainers:** leichtgewicht
- **Author:** Martin Heidegger
- **Publisher:** leichtgewicht
- **Integrity:** sha512-zF8qxQpqCB467o4A63DLpQClo77H642JEKMx0Ra9GFww7Rx0234Fo8NoG0LBoSBZxamWkXfLxhzDG19bTBHvXQ==
- **Shasum:** d6253c1e4d2274daf09b8365e84b46a9dc3dd918
- **Unpacked Size:** 172,367
- **File Count:** 0
- **Created At:** 2021-07-07T06:12:29.965Z
- **Latest Published At:** 2022-07-20T07:46:28.949Z
- **Modified At:** 2022-07-20T07:46:29.050Z


## 相关链接

- [Networking and protocol packages](https://www.automicvault.com/zh-hans/pkg/networking-protocol-tools/) - Matched curated package taxonomy and local package facts.
- [dohjs](https://www.automicvault.com/zh-hans/pkg/npm/dohjs/) - Local package facts share a topical domain. Shared terms: cli, dns, dns-packet, doh, https.
- [dns](https://www.automicvault.com/zh-hans/pkg/npm/dns/) - Both packages touch the same language runtime or ecosystem. Shared terms: cli, dns, networking, node.
- [dns-zonefile](https://www.automicvault.com/zh-hans/pkg/npm/dns-zonefile/) - Package names and metadata indicate a similar tool family. Shared terms: cli, dns, networking.

## 来源

- Nucleus package database
- package-page enrichment
- package version freshness
- av.db category and tag curation
- package relationship graph
- cross-ecosystem install command graph
