Introduction

This lab provides you with the instructions and practical experience to configure a name server as a slave for any zones that your primary master nameserver is authoritative for.  When configuring a slave zone, there is no need to create the backup zone datafile: the name server will write the backup data after it has transferred the zone from the master name server that you designated. We will set up a slave name server for the master primary, ns.csait.ca at 10.100.1.150.  This lab also continues to use dig and other tools to transfer zones,  find out who is authoritative for a zone and to trace name resolution. Use the rndc command to dump our database and use rndc to flush the cached information.


Pre Lab Requirements:

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

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

                zone "bar.example" {
type slave;
masters { IP address };
file "bak.bar.example";
optional settings;

};

Configuring a Name Server as a Slave for a Zone

Testing and Troubleshooting DNS:

Questions:

What nameserver was queried first?


What type of query was made?


What was the response from the nameserver?

Is your name server still caching information and how do you  know? 


How often does your slave nameserver initiate a zone transfer from its master?   Where do you find this information?


Will the slave automatically transfer the database from the master at the next scheduled time?


Is the slave name server authoritative for this zone?

Can we transfer a zone from any name server?

Last updated: 2010-03-18
Written by: Cheri Weaver