DNS查询
域名DNS查询
接口信息
GET
apiinone.com/apis/dns
Method
GET
分类
网站工具
Calls
2
KEY
KEY 必填
计费
免费
QPM
不限制
鉴权方式
Query 参数
作者
请求参数
| 参数名 | 类型 | 必填 | 说明 | 示例 |
|---|---|---|---|---|
| key | string | 是 | 接口调用密钥 | |
| name | string | 是 | 域名 | google.com |
| type | string | 否 | 记录类型 | A |
[
{
"name": "key",
"type": "string",
"required": true,
"description": "接口调用密钥",
"example": ""
},
{
"name": "name",
"type": "string",
"required": true,
"description": "域名",
"example": "google.com"
},
{
"name": "type",
"type": "string",
"required": false,
"description": "记录类型",
"example": "A"
}
]
{"openapi":"3.1.1","info":{"title":"DNS查询","description":"域名DNS查询","version":"1.0.0"},"paths":{"/apis/dns":{"get":{"summary":"DNS查询","description":"域名DNS查询","parameters":[{"name":"key","in":"query","required":true,"schema":{"type":"string"},"description":"接口调用密钥"},{"name":"name","in":"query","required":true,"schema":{"type":"string","example":"google.com"},"description":"域名"},{"name":"type","in":"query","required":false,"schema":{"type":"string","example":"A"},"description":"记录类型"}],"responses":{"200":{"description":"成功","content":{"application/json":{"schema":{"type":"object"}}}}}}}},"servers":[{"url":"http://apiinone.com","description":"当前访问入口(http)"}]}
返回示例
{"Status":0,"TC":false,"RD":true,"RA":true,"AD":false,"CD":false,"Question":[{"name":"google.com.","type":1}],"Answer":[{"name":"google.com.","type":1,"TTL":300,"data":"142.250.197.46"}],"Comment":"Response from 216.239.38.10."}
接口反馈
暂无详细文档
快速上手
暂无代码示例。管理员可在后台用 AI 生成或手动编写。
在线测试
请求地址
apiinone.com/apis/dns
参数
Response
// 结果将在此处显示