查询域名解析
查询域名所有解析信息

接口地址: https://api.qsir.cn/api/dm-domain

返回格式: JSON

请求方式: GET/POST

请求示例: https://api.qsir.cn/api/dm-domain?domain=qq.com

即2023年9月1号起,所有接口请求必须携带秘钥,否则请求失败!!

请求参数说明:

名称 必填 类型 说明
domain String 域名

返回参数说明:

名称 类型 说明
host String 主机名
class String 类型
ttl int 有效时间
type String 解析记录类型
ip String 主机IP地址

返回示例:

{
    "code": 200, 
    "msg": "success", 
    "data": {
        "list": [
            {
                "host": "blog.qqsuu.cn", 
                "class": "IN", 
                "ttl": 600, 
                "type": "A", 
                "ip": "121.62.21.238"
            }
        ]
    }
}

请求参数设置:

参数名称 参数值


{
    "code": 200, 
    "msg": "success", 
    "data": {
        "list": [
            {
                "host": "blog.qqsuu.cn", 
                "class": "IN", 
                "ttl": 600, 
                "type": "A", 
                "ip": "121.62.21.238"
            }
        ]
    }
}

错误码格式说明:

名称 类型 说明
code int 成功
msg String 错误

代码示例:

暂无示例。