| 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.  |
|
|
|