This document has been placed in the public domain by Sam Trenholme

Using MaraDNS as an authoritative DNS server

Requirments

In order to set up an authoritative DNS server, one needs one or more static IP addresses. With most registries, two or more static IP addresses are needed.

In addition, the machine(s) with the static IP addresses need to be running an authoritative DNS server, such as MaraDNS.

What is a domain zone?

A name like www.example.com is part of the domain zone example.com. The name www.yahoo.com, as another example, is part of the domain zone yahoo.com. www.maradns.org is part of the domain zone maradns.org.

Setting up a domain with MaraDNS

Compile and install MaraDNS on the system which will act as an authoritative DNS server.

After doing this, the mararc file needs to be changed before MaraDNS will function as an authoritative DNS server.

How to a MaraRC file which can be used to serve the domain zones that one wishes to have control over:

The domain zone files which are pointed to in /etc/mararc are, by default, in the directory /etc/maradns (the directory is determined by the value of chroot_dir in the mararc file).

Setting up a domain zone file