@Shiraira3 年前
04/16
22:53
获取本机IP
Google:
dig o-o.myaddr.l.google.com txt @ns1.google.com +short
nslookup -type=txt o-o.myaddr.l.google.com ns1.google.com
“10.11.12.13”
OpenDNS:
dig myip.opendns.com @resolver1.opendns.com +short
nslookup myip.opendns.com resolver1.opendns.com
10.11.12.13
Akamai:
dig whoami.akamai.net. @ns1-1.akamaitech.net. +short
nslookup whoami.akamai.net. ns1-1.akamaitech.net.
10.11.12.13
获取DNS后端递归服务器IP
Google:
dig o-o.myaddr.l.google.com txt @119.29.29.29 +short
nslookup -type=txt o-o.myaddr.l.google.com 119.29.29.29
“101.91.43.57”
OpenDNS:
dig myip.opendns.com @119.29.29.29 +short
nslookup myip.opendns.com 119.29.29.29
101.91.43.57
Akamai:
dig whoami.akamai.net. @119.29.29.29 +short
nslookup whoami.akamai.net. 119.29.29.29
101.91.43.57
获取当前DNS服务器传递给权威DNS的ECS Subnet信息
dig o-o.myaddr.l.google.com txt @8.8.8.8 +short
nslookup -type=txt o-o.myaddr.l.google.com 8.8.8.8
“198.51.100.1”
“edns0-client-subnet 203.0.113.0/24”