How do I prevent the following website and similar tools finding subdomains of domains in my server?


2 Answers 2


You can add a wildcard DNS record for your domain. Using that, every possible subdomain points at your server. Then your webserver can choose which subdomains have content and which subdomains redirect.

The sites that use DNS records to find subdomains won't be able to distinguish the ones that are used from the ones that are not.

  • Oh, that's a great work around! +1 Commented Aug 2, 2014 at 8:23

You can't due to the nature how sub domains work. When adding a sub domain you are adding public records to the main domain and anyone can do a NS lookup or similar to reveal additional information regarding the domain.

If you want it private then use an internal domain over a VPN or use the IP address, or better yet just ensure your sub domain is secure and not worry.

  • AFAIK, finding a list of arbitrary subdomains is not necessarily as trivial as doing a DNS lookup, unless the server responds to AXFR (zone transfer) requests (which most don't)?
    – MrWhite
    Commented Aug 2, 2014 at 11:10

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.