|
本帖最后由 心理有数 于 2018-10-15 16:07 编辑
下图是通过API设置的IPV6地址解析,不只是格式哪里出问题了,总是会生成ipv4的解析结果- curl -s -X POST "https://dnsapi.cn/Record.Ddns" -d "login_token={token_id}format=json&domain_id={domin_id}&record_id=385380000&record_line=%e9%bb%98%e8%ae%a4&record_type=<font color="#ff0000">AAAA</font>&sub_domain=<font color="#ff0000">WWW</font>&value=<font color="#ff0000">[2408:0000:3a17:0000:1309:0000:9982:0000]</font>" | jq '.'
复制代码 返回值为
- {
- "status": {
- "code": "1",
- "message": "Action completed successful",
- "created_at": "2018-10-13 16:13:08"
- },
- "record": {
- "id": 385380000,
- "name": "www",
- "value": "xx.xx.xx.xx"
- }
- }
复制代码
|
|