Securing-Optimizing-RH-Linux-1_2_229
Comments and suggestions concerning this book should be mailed to gmourani@videotron.ca
© Copyright 1999-2000 Gerhard Mourani and Open Network Architecture ®
229
·
To run a caching only name server, the following files are require and must be create or
copied to their appropriated directories on your server.
Copy the named.conf file to the /etc/ directory.
Copy the db.127.0.0 file to the /var/named/ directory.
Copy the db.cache file to the /var/named/ directory.
Copy the named script file to the /etc/rc.d/init.d/ directory.
·
To run a master name server, the following files are require and must be create or copied
to their appropriated directories on your server.
Copy the named.conf file to the /etc/ directory.
Copy the db.127.0.0 file to the /var/named/ directory.
Copy the db.cache file to the /var/named/ directory.
Copy the db.208.164.186 file to the /var/named/ directory.
Copy the db.openarch file to the /var/named/ directory.
Copy the named script file to the /etc/rc.d/init.d/ directory.
·
To run a slave name server, the following files are require and must be create or copied
to their appropriated directories on your server.
Copy the named.conf file to the /etc/ directory.
Copy the db.127.0.0 file to the /var/named/ directory.
Copy the db.cache file to the /var/named/ directory.
Copy the named script file to the /etc/rc.d/init.d/ directory.
You can obtain configuration files listed bellow on the floppy.tgz archive. Copy the following files
from the decompressed floppy.tgz archive to their appropriated places or copy and paste them
directly from this book to the concerned file.
Caching-only name Server
Caching-only name servers are servers not authoritative for any domains except 0.0.127.in-
addr.arpa. A caching-only name server can look up names inside and outside your zone, as can
primary and slave name servers. The difference is that when a caching-only name server initially
looks up a name within your zone, it ends up asking one of the primary or slave names servers
for your zone for the answer.
The necessary files to setup a simple caching name server are:
named.conf
db.127.0.0
db.cache
named script
Configuration of the /etc/named.conf file for a simple caching name server
Use this configuration for all servers machines on your network that doesnt act as a master or
slave name server. Setting up a simple caching server for local clients machines will reduce load
on the sites primary server. Many users on dialup connections may use this configuration along
with bind for such a purpose.
Create the named.conf file (touch /etc/named.conf) and add the following lines in the file:
options {
directory "/var/named";