HostedDB - Dedicated UNIX Servers

Securing-Optimizing-RH-Linux-1_2_233
Comments and suggestions concerning this book should be mailed to gmourani@videotron.ca © Copyright 1999-2000 Gerhard Mourani and Open Network Architecture ® 233                                       2592000 ; Expire                                       345600 ) ; Minimum ; Name Server (NS) records.        NS   deep.openarch.com.        NS   mail.openarch.com. ; Addresses Point to Canonical Names (PTR) for Reverse lookups  1  PTR      deep.openarch.com. 2  PTR      mail.openarch.com. 3  PTR      www.openarch.com. Configuration of the “/var/named/db.openarch” file for a master name server Use this configuration for the server machine on your network that acts as a master name server. This file “db.openarch” map addresses to host names. Create the following file in “/var/named/”. Create the db.openarch file (touch /var/named/db.openarch) and add: ; Revision History: April 22, 1999 - admin@mail.openarch.com  ; Start of Authority (SOA) records. $TTL 345600 @  IN  SOA  deep.openarch.com. admin.mail.openarch.com.  (                                       00 ; Serial                                       86400 ; Refresh                                       7200 ; Retry                                       2592000 ; Expire                                       345600 ) ; Minimum ; Name Server (NS) records.        NS   deep.openarch.com.        NS   mail.openarch.com. ; Mail Exchange (MX) records.        MX   0  mail.openarch.com. ; Address (A) records. localhost A       127.0.0.1 deep A       208.164.186.1 mail A       208.164.186.2 www A       208.164.186.3 ; Aliases in Canonical Name (CNAME) records. ;www                           CNAME  deep.openarch.com. Configuration of the “/var/named/db.cache” file for a master and slave name servers Before starting your DNS server you must take a copy of “db.cache” file and copy it in the “/var/named/” directory. The “db.cache” tells your server where the servers for the “root” zone are. Use the following command on another Unix computer in your organization to query a new db.cache file for your DNS Server or pick one from your Red Hat Linux CD-ROM source distribution: · To query a new db.cache file for your DNS Server, use the following command: [root@deep /]# dig @.aroot-servers.net . ns > db.cache