> For the complete documentation index, see [llms.txt](https://docs.ipcheck.ing/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.ipcheck.ing/knowledge-base/zh/lookup-privacy/whois-search.md).

# Whois 查询

## 它的作用

每个域名和每个 IP 地址块都登记在某个人名下。该登记信息是公开信息，而 **Whois 搜索** 会为你获取这些信息。

输入一个域名，你会得到注册商、注册和到期日期、名称服务器以及该域名的当前状态。输入一个 IP 地址，你会得到它所属的网络块、持有该地址的组织、国家，以及通常还会有一个滥用联系邮箱。

在幕后，这个工具使用两种协议。传统的 **WHOIS** 是较早的基于文本的服务。 **RDAP** 是它的现代替代方案，通过 HTTPS 返回结构化数据。域名会先通过 WHOIS 查询，对于较新的顶级域名，例如 `.ing`, `.app` 或 `.dev`，则会回退到 RDAP，因为这些域名已不再运行 WHOIS 服务器。IP 地址则先查询 RDAP，因为那是区域注册机构中的权威来源。

## 如何运行它

{% stepper %}
{% step %}

### 打开工具

前往 **高级工具** 并点击 **Whois 搜索** 卡片，或者打开 `/tools/whois` 直接访问。
{% endstep %}

{% step %}

### 输入域名或 IP

输入一个域名、完整 URL，或 IPv4 或 IPv6 地址。子域名会被去掉，所以 `www.example.com` 会按 `example.com`来查询。然后按回车或点击搜索按钮。
{% endstep %}
{% endstepper %}

## 阅读结果

结果是原始注册表文本，完全按注册表返回的样子显示。工具会在输出上方提示你： *“Whois 信息包含多种类型的字段。以下是原始文本信息。”*

对于域名，你可能一次得到多个结果。每个结果都是一个可折叠的块，标签为 **信息提供方**，因为一个域名记录通常同时存在于注册局和注册商处，而两者可能包含不同程度的详细信息。先展开第一个，如果缺少你要找的字段，再查看其他的。

对于 IP 地址，你会得到一个单独的块。

### 域名的常见字段

| 字段       | 它告诉你什么                                     |
| -------- | ------------------------------------------ |
| `域名`     | 该记录所属的域名。                                  |
| `创建时间`   | 域名首次注册的时间。                                 |
| `更新时间`   | 该记录最后一次变更的时间。                              |
| `到期时间`   | 注册到期的时间。                                   |
| `状态`     | 注册局锁定和待处理操作，例如 `clientTransferProhibited`. |
| `注册商`    | 域名购买所通过的公司。                                |
| `名称服务器`  | 为此域名提供响应的 DNS 服务器。                         |
| `DNSSEC` | 域名的 DNS 应答是否经过加密签名。                        |

### IP 地址的常见字段

| 字段              | 它告诉你什么                    |
| --------------- | ------------------------- |
| `网段范围` / `CIDR` | 该 IP 所在地址块的首尾地址及其大小。      |
| `网段名称`          | 注册机构对该地址块的简称。             |
| `网段类型`          | 该地址块如何分配，例如直接分配或重新分配。     |
| `国家`            | 该地址块注册到的国家。这是注册数据，不是位置测量。 |
| `创建时间` / `更新时间` | 该地址块被分配及最后修改的时间。          |
| `滥用`            | 报告来自该地址的滥用行为的联系方式。        |

{% hint style="info" %}
网络块登记的国家通常与 IP 实际看起来所在的位置不同。如果两者不一致，请参阅 [为什么我的 IP 位置是错的？](/knowledge-base/zh/diagnose/why-is-my-ip-location-wrong.md) 和 [GeoIP：IP 地理定位如何工作](/knowledge-base/zh/concepts/geoip-explained.md).
{% endhint %}

### 联系方式被隐藏是正常的

你经常会看到 `为保护隐私而隐藏`，一个通用代理地址，或一封匿名转发邮箱，而不是某个人的姓名。

这是预期中的情况。自 GDPR 生效以来，注册局和注册商默认会隐藏域名所有者的个人联系方式，而且许多注册商还会额外销售隐私保护服务。被隐藏的记录并不意味着该域名在隐瞒什么。这只是如今的默认设置。

技术字段——日期、状态、名称服务器、网络范围——仍会完整公开。

## 典型用途

* **这个域名是新注册的吗？** 一个 `创建时间` 几天前的日期，再加上一条催促你尽快行动的信息，是典型的诈骗信号。
* **谁在运营这个 IP 段？** 检查 `网段名称` 以及组织条目，看看该地址属于家庭 ISP、托管公司还是云服务提供商。
* **我该向哪里报告滥用？** 使用 IP 记录中的滥用联系方式。
* **我的域名快到期了吗？** 检查 `到期时间` 日期。
* **我的名称服务器真的是我以为的那些吗？** 将 `名称服务器` 字段与您配置的内容进行比较。

### 当查询没有返回任何结果时

某些不太常见的顶级域名根本不发布 Whois 或 RDAP 数据，而且少数注册机构会对查询进行速率限制。如果你收到错误，请稍等片刻再试，或者直接尝试该域名注册局的网站。

## 下一步做什么

* 使用 [ASN 信息与上游拓扑](/knowledge-base/zh/lookup-privacy/asn-info.md).
* 使用 [DNS 解析器](/knowledge-base/zh/lookup-privacy/dns-resolver.md).
* 了解网络编号在 [什么是 ASN？](/knowledge-base/zh/concepts/what-is-an-asn.md).


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://docs.ipcheck.ing/knowledge-base/zh/lookup-privacy/whois-search.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
