POSTip-domain
IP反查域名
通过IP地址反向查询其解析到的域名信息,助力网络安全分析与域名资产管理。
接入文件
功能介绍
本API提供通过输入一个IP地址,反向查询该IP地址解析到的所有域名信息。这对于了解IP地址背后的域名资产、进行网络安全分析以及追踪恶意活动至关重要。接口返回的数据包含但不限于域名列表、解析时间等关键信息,帮助用户全面掌握IP与域名的关联。
应用场景
- 网络安全分析:识别恶意IP地址关联的域名,辅助溯源和威胁情报分析。
- 域名资产管理:企业或个人用户通过IP地址快速发现其名下或关注的域名资产。
- DDoS防护:在面临攻击时,快速识别受影响的域名。
- 竞品分析:研究竞争对手的IP部署情况及其关联的域名服务。
- 数据取证:在安全事件响应中,通过IP反查域名获取更多线索。
接入示例程式碼
提供 Shell、Python、Go、Java、PHP 等常見接入示例,便於直接接到現有專案裡。
請求示例
{}響應示例
{
"code": 200,
"data": {
"Ip": {
"type": "string",
"example": "180.101.50.188",
"description": "查询的IP"
},
"List": {
"type": "array",
"items": {
"type": "object",
"properties": {
"Domain": {
"type": "string",
"example": "dev.open.baidu.com",
"description": "解析过的域名(同IP网站)"
},
"LastDate": {
"type": "string",
"example": "2023-07-15 02:42:00",
"description": "最后解析成功时间"
},
"FirstDate": {
"type": "string",
"example": "2023-07-15 02:42:00",
"description": "从首次解析成功时间"
}
}
},
"example": [
{
"Domain": "dev.open.baidu.com",
"LastDate": "2023-07-15 02:42:00",
"FirstDate": "2023-07-15 02:42:00"
},
{
"Domain": "pj266.com",
"LastDate": "2023-09-26 12:27:41",
"FirstDate": "2023-07-15 02:42:00"
}
],
"description": "数据列表"
},
"Page": {
"type": "number",
"example": 1,
"description": "当前页"
},
"PageSize": {
"type": "number",
"example": 10,
"description": "当前页数量(最多返回10条)"
},
"TotalPage": {
"type": "number",
"example": 156,
"description": "总页数"
},
"TotalCount": {
"type": "number",
"example": 1554,
"description": "总数量"
}
},
"message": "success"
}響應欄位
以下欄位根據示例 JSON 自動提取,僅作接入參考。
| 欄位路徑 | 型別 | 示例值 |
|---|---|---|
| code | number | 200 |
| data | object | {...} |
| data.Ip | object | {...} |
| data.Ip.type | string | string |
| data.Ip.example | string | 180.101.50.188 |
| data.Ip.description | string | 查询的IP |
| data.List | object | {...} |
| data.List.type |