| Grabber Softwares : Enhance Your Computing |
| Simpler than configuring a Unix nameserver By default, Linux uses its own hosts file for IP-to-hostname mapping and does not use other systems as nameservers. However, just tweaking two files is usually enough to enable it to pick up hostnames from another machine. While using any Unix system as a nameserver is somewhat tedious and difficult process, configuring the system to pick up its host names from another machine is a simple, relatively painless procedure. Basically one just has to configure two files. First, open the file /etc/resolv.conf. Usually, youll
find just two lines there, specifying your domain and your nameserver. All you have to do
is specify the IP address of your nameserver. If your domain is pcqlabs.com and your
nameserver's IP address is 192.168.1.131, then your file should contain only the following
two lines: domain pcqlabs.com Theres an even simpler way to configure Linux as a
client for a nameserver. Many distributions of Linux come with a small utility called
netconfig, which can be used to configure Linux as a client for a DNS server. The
netconfig is a straightforward and easy-to-use program which is run by simply typing
netconfig at the command prompt. The program asks you for your machines hostname,
the domain to which it belongs, the netmask, and a couple of other basic questions, and
then makes the requisite changes in the system scripts and the network configuration files
after which it quietly exits. |