CNT5605 - 2009 Fall
Group Assignment 4
Printed Journals Due Wednesday, September 30, at the beginning of class.

Assignment: DNS Caching

Objectives: (1) Install two different DNS systems, maradns and djbdns. maradns should be set up on your Fedora server, and djbdns should be installed on your "real" CentOS server. (2) Configure each as caching nameservers that also look at local servers for local information.


Installing maradns is very simple on Fedora 11: all you need to do is to use yum to do the installation.

Installing djbdns is not so simple on CentOS 5.3. It's not in the official yum repository. The easiest way to install is to download the source code and install from source. (The ever-shifting sands of technology have engendered at least one problem with the default instructions, and you will have to search for a solution to that conundrum.) Once you have installed djbdns, you will also have to setup dnscache to have local caching. The following webpages should get you started:

Configuration for local information

It's quite common for clients to be inside of an environment with its own separate DNS setup, and indeed, that's the case here in Computer Science. Our two nameservers at and provide local information that is different than what is presented outside the department.

You will need to configure both maradns and dnscache to look at our local nameservers for local information. For maradns, the information here should be of some service. For dnscache, look at this page.

(Hint: Don't forget to change /etc/resolv.conf to reflect your new cachers on

A journal is due for this assignment. Make sure that you document in your journal all of the steps that you went through, following the guidelines on the class home page. Please share the workload so that all team members get experience with all aspects of the work. PLEASE DON'T FORGET TO PUT YOUR TEAM NUMBER ON THE ASSIGNMENT. Please turn in a printed copy of this assignment at the beginning of class on Wednesday, September 30th.