Introduction

This lab provides you with the instructions and practical experience to configure a name server as a primary master for a zone. Add the appropriate zone statement to the name servers named.conf file. The zone statement specifies the domain name of the zone and the name of the zone data file and that this name server is the zone's primary master.

You must also create the zone"s data file, which contains all of the resource records in the zone, including the SOA record and NS records.


Pre Lab Requirements:

You are responsible for reading and understanding DNS in the BSD Handbook

Sample of a master zone in /etc/namedb/named.conf:

                zone "bar.example" {
type master;
file "bar.example";
allow-transfer { 10.100.1.34; };
};

Configuring a Name Server as a Primary Master

Testing DNS:

Questions:

Can you ping the hosts in your domain using the hostname?

   Do you have to use the FQDN, why or why not?

   Using dig, query for a PTR record for one of your hosts, what is returned?

   Was your slave successful in transferring the master zone files?

    Force a zone transfer with rndc.  Use rndc refresh <name of zone> Was that successfull?

    How can you prove that it was successful?


Master Primary Configurations:

Last updated: 2010-04-01
  Written by Cheri Weaver