2 ms·
What's more likely to go down. OpenDNS or YouTube. curl -4si0A "" https://www.youtube.com|sed -n '/ip=/{s/.*ip=//;s/\.*//p;};'|uniq What's more likely to
by 1vuio0pswjnm7 3y ago
What's more likely to go down. OpenDNS or YouTube.
curl -4si0A "" https://www.youtube.com|sed -n '/ip=/{s/.*ip=//;s/\.*//p;};'|uniq
What's more likely to go down. OpenDNS or Cloudflare.
This will work with any Cloudflare IP address and it does not even require TLS.
printf 'GET /cdn-cgi/trace HTTP/1.0\r\nHost: cloudflare.com |nc -vvn 104.18.25.13 80 |sed -n /ip=/p
To get list of Cloudflare IPs
curl -4si0A "" https://api.cloudflare.com/client/v4/ips
There are many, many websites that print the client IP address in a webpage or in a HTTP head. Not necessarily "What is my IP" websites. No need to rely on just one source.
Websites that use Cloudlfare to block certain requests are another option. For example, StackOverflow. Just send HTTP request without User-Agent header.
curl -si40A "" http://stackoverflow.com|sed -n '/cf-footer-ip">/{s/.*">//;s/<.*//p;}'
The success of "What is my IP" websites is quite surprising given that one's IP address is displayed by hundreds of thousands of other websites.
Further reading on utility of DNS
https://www.netmeister.org/blog/dns-rrs.html https://www.netmeister.org/blog/dns-rrs.html
- devilsAdv0cate 3y ago[dead]