Re: Can't resolve address
ALASTAIR AITKEN CLMS (A.Aitken@unl.ac.uk)
Fri, 22 Nov 1996 18:18:54 +0000 (GMT)
--Boundary (ID rmW7dftufCLSRY4AFVj/hg)
Content-type: TEXT/PLAIN; CHARSET=US-ASCII
On Fri, 22 Nov 1996, Amanda Cheung (HK) wrote:
> I have installed perl5.003 and libwww-perl5.04 successfully on my sparc20. When
> I tried to run a very simple perl,
>
> <HTML>
> <HEAD>
> <TITLE>
> An Error Occurred
> </TITLE>
> </HEAD>
> <BODY>
> <H1>An Error Occurred</h1>
> 500 - Can't resolv address for www.sn.no
> </BODY>
> </HTML>
> perl -MLWP::Simple -e 'getprint "http://www.sn.no/libwww-perl/"'
This is a DNS name resolution failure. Your domain name server can't resolve
www.sno.no into an IP address. If you have a unix machine then try:
# nslookup www.sno.no
# traceroute www.sno.no
the first, if available, will tell you the ip number for www.sno.no if it can
or give you another error message and the second will tell you all the dns
servers in the chain linking your computer to www.sno.no and how long they take
to connect you the next in the chain.
I don't think there's anything wrong with the perl. It's producing perfectly
clear html.
Alastair Aitken UNL (ISS)
a.aitken@unl.ac.uk
http://www.unl.ac.uk/~alastair/
+44 171 753 5173
--Boundary (ID rmW7dftufCLSRY4AFVj/hg)--