发布作者:
Solo Walk
作品采用:
《
署名-非商业性使用-相同方式共享 4.0 国际 (CC BY-NC-SA 4.0)
》许可协议授权
DNS大全:https://dnsdaquan.com/
查询代理是否有效,使用本地Socks5端口访问谷歌,测试端口是否生效
curl -x socks5h://127.0.0.1:1082 https://dns.google/resolve?name=www.google.com
如果返回以下内容,证明端口有效,data为IP地址,Comment为DNS
{"Status":0,"TC":false,"RD":true,"RA":true,"AD":false,"CD":false,"Question":[{"name":"www.google.com.","type":1}],"Answer":[{"name":"www.google.com.","type":1,"TTL":300,"data":"142.250.76.228"}],"Comment":"Response from 216.239.36.10."}
查询端口1082代理是否有效,SSH执行后,返回IP地址为代理IP证明有效
curl -x socks5h://127.0.0.1:1082 https://ifconfig.me
—— 评论区 ——