a guest Oct 21st, 2019 93 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. Method:
  2. Now let me explain you, how this method works in details. Let's say you are the person who registered domain and hosted it to First of all you need to point your domain to digitalocean server, for that you need to create dns zone at digitalocean DNS server. DO itself give you name server addresses, which you need to bind to your domain. (example:; After that you can successfully use your domain name to access your web service. Now you want to hide your server IP using cloudflare, and you are registering cloudflare account, following steps and cloudflare returns you new name server addresses (example:;
  3. Most of the people think that they successfully hide their sever IP address, but that's not true. Don't forget digitalocean still knows your domain real IP address, because you created the zone for it!!! And someone who is smart enough can use tool like nslookup and send requests to all public dns server and ask them to resolve your domain, when that person resolves throw as the response he will get real IP address of your domain. Below is the bash command which automates the process.
  6. Code
  7. $ for dnsServer in $(cat all.txt ); do if nslookup $dnsServer |grep "Non-authoritative" -A2 | grep Address | awk {'print $2'} | grep -q "104.24";then echo $f;else echo "[+] Use Following Address: "$dnsServer;fi;done
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand