Do you have a question? Post it now! No Registration Necessary. Now with pictures!
- Posted on
- Domain names listed by host
October 28, 2011, 3:44 am
rate this thread
it can be done with php.
Let's say you wanted to know what domain names were listed on
Is there a way to get that list in PHP?
As you know, a domain name resolves to an IP.
But there could be hundreds of domain names on that same IP.
How do I know for sure which domain name is spamming me?
Just as an example.
I did find reference to an old program called "Webspy" that could
apparently do this. But it appears not to be available any longer.
Oh and yes I googled it. That's like looking for a needle in lake michigan.
- "Ãlvaro G. Vicario"
October 28, 2011, 7:46 am
Re: Domain names listed by host
The programming language does not really matter. The key point is
whether such information is available somewhere. A few hints:
1. Neither the web server software (Apache, IIS...) nor the host
computer are required to reveal what domains they are configured to
served. Even if they wanted to, they wouldn't have a way to do it.
2. Usable domain names need to bind to one or more IP addresses and that
information *is* publicly available (through a DNS server): you can
easily look up IP addresses by domain name. However, the opposite is not
true. You won't necessarily find a domain name by IP address in the DNS
server, and even when you do it won't normally be what you expect:
Addresses: 126.96.36.199, 188.8.131.52, 184.108.40.206, 220.127.116.11
3. When you write a piece of software that opens and outgoing network
connection (for instance, to spam you), you won't normally need to
provide your domain name. Actually, the whole idea of whether your
script belongs to a web site is totally irrelevant in this context.
- If you want to locate a spammer you'll have to do it manually with the
variety of on-line services that compile this kind of information or buy
access to their API.
- If you want something else, you'll need to explain *what* you need to
do rather than *how* you expect to do it.
In either case, I think it's pretty off-topic here.
-- http://alvaro.es - Álvaro G. Vicario - Burgos, Spain
-- Mi sitio sobre programación web: http://borrame.com
-- Mi web de humor satinado: http://www.demogracia.com