This page contains scripts, links to other sites and "howto" docs that the staff at Open Technologies Inc. commonly use. You are free to use this material as you wish, but we take NO responsibility for your proper or improper use of this material. See Limitation of Liability below. -------------------------------------------------------------------------------- Description: A Quick How to On Setting up a Master DNS and a Secondary DNS servers. ---------------------------------------------------------------------------- Revision Table: Created: 05-14-07 ARF ---------------------------------------------------------------------------- Master DNS Setup This document steps through the process of setting up a Master dns server and a Secondary dns server to that master. In a specific zone, create the directory /var/named. In this directory the file named.conf file needs to be created. # mkdir /var/named #touch /var/named/named.conf Use a text editor to set up this file in the correct format. The proper format is: options { directory "/var/named"; allow-transfer { xxx.xxx.xxx.xxx; }; notify yes; }; zone "DomainName.com" in { type master; file "ZoneFileName.zn"; }; zone "DomainName.com" in { type master; file "ZoneFileName.zn"; }; . . . After creating the named.conf file you need to make a link in /etc to it also named named.conf # ln -s /var/named/named.conf /etc/named.conf With this done and your zone files in the /var/named directory you can configure the service. To configure the dns, first make sure the service is available with svcs. # svcs -a | grep dns disabled May_31 svc:/network/dns/client:default online Jun_02 svc:/network/dns/server:default Then enable the service with svcadm #svcadm enable svc:/network/dns/server:default Now your master DNS should be working. -------------------------------------------------------------------------------- LIMITATION OF LIABILITY TO THE FULL EXTENT PERMITTED BY LAW, HOST IS NOT LIABLE TO YOU OR ANY OTHER INDIVIDUAL OR ENTITY FOR ANY DIRECT, INDIRECT, INCIDENTAL, PUNITIVE, SPECIAL OR CONSEQUENTIAL DAMAGES RELATED TO OR ARISING OUT OF ANY USE OF, ACCESS TO, OR INABILITY TO ACCESS THIS WEBSITE, CONTENT, SERVICES, OR OF ANY OTHER LINKED WEBSITE OR EXTERNAL RESOURCE INCLUDING, WITHOUT LIMITATION, ANY LOST PROFITS, LOST SALES, LOST REVENUE, LOSS OF GOODWILL, BUSINESS INTERRUPTION, LOSS OF PROGRAMS OR OTHER DATA EVEN IF OPEN TECHNOLOGIES INC. IS EXPRESSLY ADVISED OR AWARE OF THE POSSIBILITY OF SUCH DAMAGES OR LOSSES. YOU ASSUME ALL RISK FOR ANY DAMAGE TO YOUR COMPUTER SYSTEM OR LOSS OF DATA THAT RESULTS FROM OBTAINING ANY CONTENT FROM THE WEBSITE, INCLUDING ANY DAMAGES RESULTING FROM COMPUTER VIRUSES, WORMS, OR OTHER ITEMS OF A DESTRUCTIVE NATURE. SOME JURISDICTIONS DO NOT ALLOW THE EXCLUSION OR LIMITATION OF LIABILITY FOR CONSEQUENTIAL OR INCIDENTAL DAMAGES, SO THE ABOVE LIMITATION MAY NOT APPLY TO YOU.