DNS - numbers into plain language

Do you have a question? Post it now! No Registration Necessary.  Now with pictures!

Threaded View

Is there a quick convenient way to translate DNS numbers, 234.123.567.1 and
the like, into www.whatever.com?

Re: DNS - numbers into plain language

Quoted text here. Click to load it

Try samspade.org

http://www.AxisHOST.com - Serving the web since 1997
Very Generous Cpanel Hosting & Fully Managed Servers
Newsgroup 20% Discount Code:   newsgroup

Re: DNS - numbers into plain language

On Mon, 23 May 2005, tim wrote:

Quoted text here. Click to load it

Well, ignoring the fact that 234.123.567.1 is invalid (255 is the maximum
for any octet), there are a number of ways you can get *a* domain name if
a reverse DNS (abbr: rDNS) record has been created for that IP address.
However, if fifty domains are hosted on the same machine, you can usually
only get *one* of them.

1. Go to "SamSpade.org Tools" at:
      http://samspade.org/t /
   and enter the IP address in the top field.  You'll get a hostname
   if rDNS has been configured for that IP address.  An example lookup
   made some time ago:


:                                      whois
:    Whois: ______________________________
:    @whois. [Magic...............]
:    Whois
:    Server Used: [ whois.arin.net ]
: [1] = [ [2] px6so.cg.shawcable.net ]
      ^^^^^^^^^^^^^         ^^^^^^^^^^^^^^^^^^^^^^
       IP address                  hostname
:   OrgName:    Shaw Communications Inc.
[snip whois info]

2. Download Sam Spade for Windows and use that.  See:
        http://samspade.org/ssw /

3. Try:

nslookup 234.123.567.1

   and see if you get lucky.  Your version of nslookup may not be able
   to look up IP addresses directly.

4. Reverse the byte order of the IP address and tack on ".in-addr.arpa"
   ("234.123.567.1" becomes "1.567.123.234.in-addr.arpa" for example)
   and use that with nslookup:

nslookup 1.567.123.234.in-addr.arpa

5.  There are other things you can try.  Quoting from
    http://samspade.org/d/ipdns.html (well worth reading in its entirety):

:   Reverse lookup
:           Finding the hostname given the IP address is very useful. If
:           you're tracing spam you need the domainname to be able to find
:           whois information.
:           So you just need to do an 'nslookup w.x.y.z', right?
:      D:\>nslookup
:      Server:  penfold
:      Address:
:      Name:    www-01.io.com
:      Address:
:           Sometimes yes...
:      D:\>nslookup
:      Server:  penfold
:      Address:
:      *** penfold can't find Non-existent domain
:           Sometimes no...
:           Just because a host has forward DNS from name to address
:           there's no guarantee or requirement for it to have reverse DNS
:           from address to name. Many sites do, many sites don't.
:           [Note: Some nslookups don't accept reverse lookup on the
:           command line. If you get caught with a braindead tool and need
:           to do a reverse lookup you can do this: nslookup
:           z.y.x.w.in-addr.arpa will do a reverse DNS lookup for address
:           w.x.y.z. Don't ask...]
:           If there's no reverse DNS you need to resort to guerrilla
:           approaches. If there's a web site that's a good bet. Do a view
:           source to look at the HTML source, particularly for forms and
:           mailto links.
:           Sometimes telnetting to the machine will give a banner
:           identifying the machine. Or telnetting to other ports on the
:           machine (25, 110, 119) can sometimes give a banner. Then you
:           can use forward DNS to confirm that the address maps back to
:           the right IP.
:           A port-scan tool can scan a range of ports on a machine, to see
:           which are providing services. Then you can telnet to each one
:           in turn to see if any leak information.
:           What if the site is being coy, and trying to hide their
:           domainname? Most virtual web-hosting companies require
:           customers to have a domain name, but if it's not used anywhere
:           and the website is advertised using it's IP address rather than
:           domain name it's hard to find.
:           On some virtual web servers accessing http://w.x.y.z/stats or
:           http://w.x.y.z/logs triggers a redirect that can give you the
:           name.

">> consider moving away from Front Page...."
">To what? Any suggestions?"
"Naked bungee-jumping. It's less humiliating <g>"
             -- Matt Probert in alt.www.webmaster, March 20, 2005

Re: DNS - numbers into plain language

Using a pointed stick and some pebbles, tim scraped this into the dirt:

Quoted text here. Click to load it

No. They don't translate that way reliably. The problem, in this
context, is that one IP number may have many hundreds of Websites
attached to it, and so would give you the same many hundreds of domain
names as a result. You can reliably do it the other way though.

     IP number   -> Domain name
           one   -> Many

     Domain name -> IP number
             one -> one

Dylan Parry
http://webpageworkshop.co.uk -- FREE Web tutorials and references

Re: DNS - numbers into plain language

Dylan Parry wrote:

Quoted text here. Click to load it

The latter can be one -> Many.

John                       Perl SEO tools: http://johnbokma.com/perl/
                 Experienced (web) developer: http://castleamber.com/
Get a SEO report of your site for just 100 USD:

Re: DNS - numbers into plain language

Quoted text here. Click to load it

An IP number also may not translate into a domain name because there
are neither PTR records for that IP nor A records mapping some domain
name to the IP.  Do not expect that all IPs can be identified by *any*
domain name.

gds at best dot com

Re: DNS - numbers into plain language

Quoted text here. Click to load it

IP is fairly physical and the plain language is what its called. Think of
it as phone number to persons name, or street address being referred to as
John's House. They arent really built off of each other. And the plain
language one is much more flexible than the IP address. All you can do is
ask the system "who is at this address".

Also keep in mind that just like phone numbers and street addresses, many
plain language names might return that same phone # or address. But looking
up that number tends to give back only one of the responses. Same with IPs.
Many domains might be there but looking up the IP gives back one answer.

Gandalf  Parker

Re: DNS - numbers into plain language

tim wrote:

Quoted text here. Click to load it

Yes. It's called the Domain Name System.

Toby A Inkster BSc (Hons) ARCS
Contact Me  ~ http://tobyinkster.co.uk/contact

Site Timeline