Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

i want to know how some sites and some softwares give information from a given ip address??

i mean does it have a specific algorithm?

share|improve this question

closed as not a real question by slhck, RedGrittyBrick, random Aug 14 '11 at 23:02

It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, visit the help center.If this question can be reworded to fit the rules in the help center, please edit the question.

up vote 3 down vote accepted

All the information about who owns what IP who it's registered to, is stored in databases.

IANA assign the IPs to RIRs(regional internet registrars), there's one called ARIN covers america, one called RIPE covers europe.. one for africa e.t.c. they each have databases.

Any website or command or GUI that looks up the IP and gets information about ownership, does a whois, on the database of one of those RIRs.

If you want details of how to access a RIR's database as a programmer, then stackoverflow would be a better place to ask. But as far as the methodology.. no complex algorithm, just returning information from a (RIR's) database.

share|improve this answer

Run the command "whois":

> whois <ipaddress>

There are online whois tools, and gui apps for it, as well.

The protocol that whois uses is documented in RFCs, of course. See:

share|improve this answer
i want to know how they do this work – Arash Aug 14 '11 at 18:52

Not the answer you're looking for? Browse other questions tagged .