Google Answers Logo
View Question
 
Q: How do I convert a numerical web address into alphabet ( Answered,   2 Comments )
Question  
Subject: How do I convert a numerical web address into alphabet
Category: Miscellaneous
Asked by: chameleon911-ga
List Price: $2.00
Posted: 10 Feb 2003 22:13 PST
Expires: 12 Mar 2003 22:13 PST
Question ID: 159815
How do I convert a numerical web address into alphabets

Request for Question Clarification by gan-ga on 10 Feb 2003 22:35 PST
Hello chameleon,

Are you looking for a method of converting an IP address to a domain name?

for instance,

IP Address 207.46.249.27 resolves to:
microsoft.com 

?
Answer  
Subject: Re: How do I convert a numerical web address into alphabet
Answered By: gan-ga on 10 Feb 2003 23:05 PST
 
Dear Chameleon911-ga,

In order to determine a domain name associated with a particular
public IP address, enter the IP address (xxx.xxx.xxx.xxx) into the
reverse DNS (Domain Name System) lookup service at:

http://remote.12dt.com/rns/

In order to determine an IP address associated with a particular
domain, enter the domain (e.g. microsoft.com) into the DNS lookup
service at:

http://www2.hunter.com/~skh/scripts/dnslookup.html

If you would like clarification, please do not hesitate to ask for
same before rating my research.
 
Best regards; 
Gan-ga
 
 
References:
"""""""""""
 
Riherds.com Reverse DNS lookup:
http://remote.12dt.com/rns/
 
Hunter.com Domain Name Server Lookup:
http://www2.hunter.com/~skh/scripts/dnslookup.html
 
 
 
Search Strategy:
""""""""""""""""
Searched Google.com for 'reverse dns lookup' and 'dns lookup':
 
://www.google.com/search?hl=en&ie=UTF-8&oe=UTF-8&q=reverse+dns+lookup

://www.google.com/search?hl=en&ie=UTF-8&oe=UTF-8&q=dns+lookup

Clarification of Answer by gan-ga on 10 Feb 2003 23:12 PST
Sysin-ga makes a very good additional point.

One method of automatically deciphering addresses encoded thus, is to
use the javascript unescape() command.

For more details, see:

http://www.javascripter.net/faq/unescape.htm

If you would like further information on this point, please do not
hesitate to ask.

Clarification of Answer by gan-ga on 10 Feb 2003 23:58 PST
I thought this might be useful to you:

Copy-paste the following code into a plain, text file, and save the
file as 'unescape.html'.

You should then be able to use the file as a simple tool for
converting hexadecimal encoded strings to ordinary text.

<html>
<form id="form1" onSubmit="string=unescape(form1.input.value);
alert(string)">
<input type="text" size="70" id="input"
value="http://www.%79a%68o%6F%2E%63%6F%6D">
<input type="submit" value="Click To Convert">
</form>
</html>

If you would like further information, please feel free to ask.

Request for Answer Clarification by chameleon911-ga on 11 Feb 2003 18:41 PST
The answer is quite clear and corresponds directly to my question.
However, the reverse DNS site does not seem to work very well. For
example, it wasn't able to interpret 64.94.89.146. Why is this?

Also, how do I run Javascript in my browser?

Clarification of Answer by gan-ga on 12 Feb 2003 05:01 PST
Hello chameleon911-ga,


Why 64.94.89.146 doesn't resolve:
"""""""""""""""""""""""""""""""""

IP addresses are mapped to domain names through the Domain Name
System, a network of server computers (called 'DNS servers') scattered
around the globe, which supply this information to any computer on the
Internet which requests it.

For this system to function, the DNS servers must hold records of
which IP's are pointing at which domain names. Two of these records
are:

1. The PTR record - the domain name pointer; the domain name for a
particular IP.
2. The 'A' record - the IP address for a particular domain name.

Looking at:

DNS Stuff:
http://www.dnsstuff.com/
http://www.dnsstuff.com/tools/ptr.ch?ip=64.94.89.146

it would appear that no PTR records exist for this IP.

This could be caused by expiry of the information, or the fact that
the DNS may not yet have been updated for a recent registration -
waiting for a short period may result in the search returning a
result.

How Reverse DNS Works:
http://www.dnsstuff.com/info/revdns.htm

PTR-Records (domain name pointer) 

http://www.jhsoft.com/help/rec_PTR.htm

"what is a PTR record"
http://nsupport.elronsoftware.com/support/wiweb.nsf/d7677f83e0e5db7f85256667006f080e/392020300b4337af852569c200783ba7?OpenDocument

How to execute Javascript in your browser:
""""""""""""""""""""""""""""""""""""""""""

Inline javascript, as described in the clarification above, will
automatically run when the page is loaded into your browser, subject
to the following caveats:

1. The browser must be capable of running javascript. Most modern
browsers are; if you think you might be having trouble on this point,
please let me know which browser you are using.

2. In a browser which is capable of running javascript, support for
javascript must be enabled. In Internet Explorer 6 for example, this
can be checked as follows:
- Tools, Internet Options, Security, Custom Settings, (Scroll down..),
Scripting, Active Scripting, Enable, OK.

The code posted above should be saved in a plain text file - not any
form of word-processing package. Notepad on Windows or the Unix tools
vi or elvis are suitable. When you save the file, save it not as
'filename.txt', save it as 'filename.html'. Note that if Windows is
set to hide file extensions, this can result in your unwittingly
saving the file as 'filename.html.txt' - not what you want.

Once you have the HTML code, containing it's embedded, or in-line,
javascript, saved as above, simply loading the file into your browser
(by double-clicking it on a default Windows / IE install) will cause
the javascript to run.

Thank you for asking for clarification - if things are still unclear
at all, please let me know on which points you would like further
clarification.

Best regards,

Gan
Comments  
Subject: Re: How do I convert a numerical web address into alphabet
From: sysin-ga on 10 Feb 2003 23:06 PST
 
Hi chameleon,

Usually the numberical web-address will be encoded with embedded "%"
which instructs the browser that what follows next is a hexadecimal
equivalent of the ANSI character values of the exact alphabet that was
supposed to be there.
(2E-., 61-a, 62-b, 63-c....etc)
The final address string can be in any combination, with proper
alphabets along with such numerical representations in between them.

For example, consider this numerical string,

%77%77%77%2E%79%61%68%6F%6F%2E%63%6F%6D

try out this in any browser, ( i tried in IE) 

it corresponds to "www.yahoo.com" 
The whole numerical string is nothing but the hexadecimal equivalent
of each of these characters one-after the other preceeded by "%" sign.
hope this helps...
Subject: Re: How do I convert a numerical web address into alphabet
From: arsenic-ga on 11 Feb 2003 09:42 PST
 
You can also use this page: http://www.ipmonster.com/tools/hostname.php

Important Disclaimer: Answers and comments provided on Google Answers are general information, and are not intended to substitute for informed professional medical, psychiatric, psychological, tax, legal, investment, accounting, or other professional advice. Google does not endorse, and expressly disclaims liability for any product, manufacturer, distributor, service or service provider mentioned or any opinion expressed in answers or comments. Please read carefully the Google Answers Terms of Service.

If you feel that you have found inappropriate content, please let us know by emailing us at answers-support@google.com with the question ID listed above. Thank you.
Search Google Answers for
Google Answers  


Google Home - Answers FAQ - Terms of Service - Privacy Policy