Identifying the DNS server used to fulfill an HTTP request by @vikrum5000 on January, 14 2013 This post is obsolete. Use public DNS endpoints that accomplish the same effect as this post. dig TXT +short http://o-o.myaddr.l.google.com @ns1.google.com dig +short http://myip.opendns.com @resolver1 .opendns.com # get your wan ip over dns (as opposed to curl/https) # truncate after @ to get the ip of y