[海上来风]

IP地址:
216.73.216.189
用户代理:
Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +c...
接受类型:
*/*
接受语言:
未知
接受编码:
gzip, br, zstd, deflate
连接方式:
close
请求路径:
/
请求方法:
GET
协议版本:
1.1
请求时间:
2025/12/4 12:38:35
主机名:
dpc.cn
Linux和Mac终端 -- IP获取方式
获得IPv4地址:
$ curl 4.dpc.cn
获得IPv6地址:
$ curl 6.dpc.cn
是否IPv6优先:
$ curl ip.dpc.cn
IP查询服务 -- 支持IPv4/IPv6
协议格式:
GET /ip - 查询本机IP
GET /ip/8.8.8.8 - 查询指定IPv4
GET /ip/::1 - 查询指定IPv6
示例:
curl http://ip.dpc.cn/
curl http://ip.dpc.cn/8.8.8.8
curl http://ip.dpc.cn/2001:4860:4860::8888
浙ICP备2022032513号