| 字段名 | 类型 | 说明 |
|---|---|---|
code | int | 状态码,0=成功 |
desc | string | 状态描述 |
data− |
object | 业务数据(成功时返回) |
domain |
string | 查询的域名 |
types |
array | 实际查询的记录类型数组 |
dns_server |
string | 使用的 DNS 服务器(system 表示系统默认) |
record_count |
int | 返回的记录总数 |
records− |
array | DNS 记录数组,每项含 type 记录类型、value 记录值、ttl 生存时间(秒) |
type |
string | 记录类型(A / AAAA / CNAME / MX / TXT / NS / SOA) |
value |
string | 记录值(A/AAAA 为 IP,MX 为交换服务器,TXT 为文本,SOA 为对象含 mname/rname/serial 等) |
ttl |
int | 生存时间(秒) |
priority |
int | MX 记录优先级(仅 MX 类型有此字段) |
note |
string | 当无记录时的提示信息 |
request_id | string | 请求追踪ID |
{
"code": 0,
"desc": "success",
"data": { ... },
"request_id": "abc123..."
}
{
"code": 999,
"desc": "错误描述",
"request_id": "abc123..."
}
© 网程科技(林州网程科技有限公司) | 豫ICP备2025120409号-2 | 豫B2-20230220 | 豫公网安备 41058102000262号