LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Networking (https://www.linuxquestions.org/questions/linux-networking-3/)
-   -   /etc/resolv.conf (https://www.linuxquestions.org/questions/linux-networking-3/etc-resolv-conf-196363/)

Pedroski 06-22-2004 10:39 AM

/etc/resolv.conf
 
Could someone tell me what resolv.conf is, what it does, who or what needs it, and should mine look like?

Just so's I know!! Not at home now so I can't man it!

Booster 06-22-2004 11:03 AM

resolv.conf is the file containing DNS info for your machine, for example:
nameserver 11.12.13.14
nameserver 22.33.44.55
search yourdomain.com

Man page description:
Code:

DESCRIPTION
      The  resolver  is  a  set  of  routines  in  the C library that provide access to the Internet Domain Name System.  The
      resolver configuration file contains information that is read by the resolver routines the first time they are  invoked
      by a process.  The file is designed to be human readable and contains a list of keywords with values that provide vari-
      ous types of resolver information.

      On a normally configured system this file should not be necessary.  The only name server to be queried will be  on  the
      local  machine;  the  domain  name  is determined from the host name and the domain search path is constructed from the
      domain name.

Cheers!


All times are GMT -5. The time now is 10:03 AM.