This is not a web server issue, but a DNS issue. To find the ip
address of a 'url' you must talk to a name server that has this
information stored in its database.
That's what name servers do: they map easy to remember names to hard
to remember ip addresses. (I could argue that at times an ip address
is easier to remember than a long host, but that's not the point of
The unix tool 'nslookup' will find this information for you. But, to
use it you need to talk to a name server. Since you do not have one
locally (I don't understand why not?) you'll have to use someone
One easy to remember name server (of many many thousands out there) is
ns.mr.net. The ip address of this machine is currently 188.8.131.52.
So if you want to find the ip address for ftp.microsoft.com, you could
type this at your unix prompt:
Which produces the output:
In other words the server at 184.108.40.206 says that ftp.microsoft.com
lives at 220.127.116.11.
Your version of nslookup may act somewhat differently, so you may have
to look at the docs.
You could also issue this command:
Which says: "look at the server 18.104.22.168 for the A record that
This command produces a lot more output:
; (1 server found)
;; res options: init recurs defnam dnsrch
;; got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 10
;; flags: qr rd ra; Ques: 1, Ans: 1, Auth: 4, Addit: 4
;; ftp.microsoft.com, type = A, class = IN
ftp.microsoft.com. 63839 A 22.214.171.124
;; AUTHORITY RECORDS:
MICROSOFT.com. 118913 NS ATBD.MICROSOFT.com.
MICROSOFT.com. 118913 NS DNS1.MICROSOFT.com.
MICROSOFT.com. 118913 NS DNS4.CP.MSFT.NET.
MICROSOFT.com. 118913 NS DNS5.CP.MSFT.NET.
;; ADDITIONAL RECORDS:
ATBD.MICROSOFT.com. 170843 A 126.96.36.199
DNS1.MICROSOFT.com. 170843 A 188.8.131.52
DNS4.CP.MSFT.NET. 119596 A 184.108.40.206
DNS5.CP.MSFT.NET. 119596 A 220.127.116.11
;; Total query time: 78 msec
;; FROM: genocide to SERVER: 18.104.22.168
;; WHEN: Wed Jan 27 18:11:05 1999
;; MSG SIZE sent: 35 rcvd: 215
But what you want is under the "ANSWERS" section. See where it names
ftp.microsoft.com as 22.214.171.124? That's the same answer we got
This is all very basic stuff that any unix administrator should know
without question. I suggest you study up from the book "DNS and BIND"
from O'Reilly. It's a wonderful introduction to DNS, as well as a
great reference book for all the examples it has inside.
>My UNIX system has web access but we do not use a name server so to ftp from a
>site I must but in the dotted decimal address. How do I find the dotted
>decimal address for sites that I only have the URL for? I am running AIX 3.2.5
>on an RS6000. Thanks in advance for your assistance.
Replace usenet with chris to send mail.
will *never* get to me. I hate spam!