LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Wireless Networking (https://www.linuxquestions.org/questions/linux-wireless-networking-41/)
-   -   how and where to edit the resolv.conf file? (https://www.linuxquestions.org/questions/linux-wireless-networking-41/how-and-where-to-edit-the-resolv-conf-file-171894/)

apu95 04-18-2004 11:24 PM

how and where to edit the resolv.conf file?
 
i need to add the DNS servers to a certain resolv.conf file....i cant find it anywhere.
in which directory is it, and what is it exactly that i have to add to it?

thx!
Apu

kilgoretrout 04-18-2004 11:29 PM

It's usually in /etc.

daniela 04-19-2004 02:49 PM

if you have dhcp enabled
mind the adding of "PEERDNS=no" at the top of /etc/sysconfig/network_scripts/ifcfg-eth0 (or eth1 or wlan0 or whatever)
otherwise your changes will be useless...

jangus 05-05-2004 11:10 PM

Try /etc/ppp/resov.conf


All times are GMT -5. The time now is 05:02 AM.