LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   writing a resolve config file to use an ISP (https://www.linuxquestions.org/questions/linux-newbie-8/writing-a-resolve-config-file-to-use-an-isp-1026/)

agnel0 02-25-2001 10:56 AM

I've installed mandrake 7.1 and trying to access the internet using freeserve as my isp. I can dial up and connect to the internet but only access addresses by there ip numbers e.g. 123.567.89.10 not as http://www.sitename.com. i believe i have been told to set a .resolveconfig file but don't what to put in it to use freeserve.

thanx


devnull 02-26-2001 09:01 AM

First you need the IP-address of an nameserver. Maybe you could ask freeserve for this information. Or you are looking for some other nameservers.

Once you have the IP-address, you have to edit your /etc/resolv.conf file.

It should look something like this:

nameserver 19x.xxx.xxx.xx
nameserver 19x.xx.xxx.xxx

Here you put in the correct IP-address.

You have to adjust the /etc/nsswitch.conf as well.
The "hosts" line should look like this:

hosts: files dns

and here is the services line:

services: files


All times are GMT -5. The time now is 12:13 PM.