Cloudflare real ip of domain

Status
Not open for further replies.
12 comments
Its really hard to get the real IP if someone used cloudflare CDN for all its records and you cant guess any other records. Email form is one of the thing though but not all sites uses the forms to send emails from php function.
 
Nope, it's just a script search for common DNS records, if all your records clouded then you cant really dig the things out.

In case if someone added txt recod with ip of hosts then you may get idea, thats the another thing you can try.

txt recod - please explain

Txt record can be use for various purposes. However people use spf record for emails mostly.

From Linux terminal you can find txt record as

dig TXT domain.com +short

I have done the same for one of my domain and i am able to see the host ip.


root@linux [~]# dig TXT xxxx.xxx +short
"v=spf1 +a +mx +ip4:xx.xx.xx.xx. ~all"


You can find the same with online tools.. Just google the same.

So this could be the other case you can consider.

Thanks
 
Is it someone cloning your site and adding content/advertisements to the code?

If that's the case you can find the IP with your error log.

Clear your error log
#> /var/log/httpd/error_log

Request a page on the clone site.
eg.
if your domain is http://mysite.com/index.php
request a page on the clone site
http://clonesite.com/index.php?cloned

Then check your error log for the requested page

#tail /var/log/httpd/error_log

Your should see a entry containing ?cloned
111.11.111.11 - - [10/Sep/2016:15:58:28 +0200] "GET /index.php?cloned HTTP/1.0" 404 10071 "-" "Mozilla/5.0 (compatible)"

Ban the IP in firewall.
 
if the site have posting option , some times its possible to get the IP of the forum server . You need to post on the with a image link (the image is hosted in your server) , and then target web site grab the image , and then you can see n your server which IP is connected to grab the image .
 
Status
Not open for further replies.
Back
Top