Home > Archive > Linux/Unix > February 2004 > Linux+ Question of the Day





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author Linux+ Question of the Day
Boulware5

2004-02-02, 12:24 am

Easy one to start off the week...

In which file do you list your nameservers as to tell your Linux system where to get its DNS information?

a. /etc/hosts
b. /etc/inetd.conf
c. /etc/resolv.conf
d. /etc/inittab
e. $HOME/.bash_profile
prezbedard

2004-02-02, 12:31 am

c. /etc/resolv.conf
Supertech

2004-02-02, 12:57 am

Under Linux, the client side of DNS is handled by the resolver. It is actually part of a library of C programming functions that get linked to a program when the program is started. The /etc/resolv.conf file contains the information necessary for the client to know what its local DNS server is. This file has two lines: the first indicates the default search domain, and the second line indicates the IP address of the host's name server.

The format of the /etc/resolv.conf file is as follows:

search domainname
nameserver IP-address
Boulware5

2004-02-05, 1:27 am

It's /etc/resolv.conf.

I would like to point out prezbedard cheated and changed his answer after I IM'ed him.
Sponsored Links





Free Braindumps | MCSE braindumps software forum

Copyright 2003 - 2008 examnotes.net