LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 06-22-2004, 09:39 AM   #1
Pedroski
Senior Member
 
Registered: Jan 2002
Location: Nanjing, China
Distribution: Ubuntu 18.04
Posts: 1,748

Rep: Reputation: 67
/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!
 
Old 06-22-2004, 10:03 AM   #2
Booster
Member
 
Registered: Sep 2003
Location: Ontario, Canada
Distribution: Gentoo, Suse
Posts: 59

Rep: Reputation: 15
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!
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
resolv.conf albundy Linux - Software 5 12-14-2004 03:12 PM
resolv.conf jmdlcar Slackware 9 05-15-2004 11:44 AM
resolv.conf ricemark20 Linux - Networking 12 11-11-2003 04:08 PM
resolv.conf dnsbum Linux - Networking 1 10-21-2003 12:00 PM
resolv.conf Culbert Linux - Networking 8 03-20-2003 04:11 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 12:20 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration