-   Linux - Software (
-   -   Command line DNS settings (

nateDiggsCSU 08-28-2004 03:52 PM

Command line DNS settings
Hello everyone--

I'm trying to set up a Fedora Core 2 server using the command line. I was able to set the ip address for the ethernet card but I am unable to figure out how to set DNS up through command line. I've been trying to google it for a little while with NO success. Any help other then just installing X?

slano 08-28-2004 04:29 PM

just edit the /etc/resolv.conf file and add this line to it:

where is the IP address of your preferred DNS

All times are GMT -5. The time now is 01:08 PM.