Click to See Complete Forum and Search --> : setting DNS


NeilBlue
06-21-2001, 04:09 AM
Hello,

I am running RH7.1 on one machine which is using a default gateway (which is running LM8). I can ping the net from my RH7.1 machine, but I need to set the dns servers for it. Please could someone tell me how to do this in RH7.1.

Thank you
Neil Blue

miker
06-21-2001, 04:47 AM
I don't have RH, but look in /etc/resolv.conf

just incase you were in the situation like I was when I first installed Linux, to list file contents at the command line:

cat /etc/resolv.conf

and use your favourite editor to make changes, mine would be:

pico /etc/resolv.conf

NeilBlue
06-21-2001, 06:02 AM
Thank you miker,

One of the reasons for moving to RH from LM is to learn more about how to use linux without the LM GUI tools.

Cheers
Neil