[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Lynx, Telnet won't resolve host



On Wed, 7 Apr 1999, Jim wrote:

> I am able to get Lynx and Telnet to connect to an (non local) IP address
> such as xxx.xxx.xxx.xxx,
> but when I enter in a URL such as http://www.foo.com I get the error
> "can't resolve host".

If you don't have a file called /etc/resolv.conf, you need to create one.
Here's what a typical one looks like:

search yourdomain.com
nameserver 127.0.0.1
nameserver 193.190.253.33
nameserver 134.58.126.3

The first line is there to tell the resolver which is your domain, so that
you can use "short" names. 

The second line gives the first nameserver, the local host. You need to
have a nameserver running for that.

The last two lines give nameservers out on the net. You should contact
your ISP to find out these.

Anyway, check out "man resolv.conf".

-- nico

--:: Nico Galoppo ::--------------------------------------------------
--:: scratch at ace.ulyssis.student.kuleuven.ac.be ::-----------------
  ::                                               ::
--:::::::::::::::::::::::::: Linux - Free power for the masses ::::::: 


Reply to: