djbdnsrocks.org latest news
A major site renovation is under way. Please excuse the mess while this is in progress.
Home
About
The Installation
Extra Options
faq
Journal of Events
Links
The future
Contact Me

Welcome to dbjdnsrocks.org, a guide & tutorial for the installation for djbdns. The purpose of this site is to provide a publicly available installation guide for Dan Bernstein's djbdns DNS software package. This site is not an official djbdns resource and is not affiliated with with Dan Bernstein or any other organization associated with djbdns. This installation guide has been tested on all Redhat Linux releases above 7.0, Redhat Enterprise Linux 3 & 4, Fedora Core 1 through 5 as well as FreeBSD 4.x, 5.x and 6.x. However, the installation should be portable to any other Linux/Unix flavors with minimal fuss. It is my hope that this site will be a useful resource to anyone who is new to djbdns and in need of an easy-to-follow, step-by-step installation documentary .Please read the disclaimer before proceeding with the djbdns installation.

A successful implementation of this site's djbdns installation includes the following:
tinydns - The DNS server
dnscache - The internal and external caching nameserver
Vegadns - The web based tinydns administration tool

Announcement: This site is currently undergoing a major renovation. The instructions below are in the process of being re-written and improved and may be incomplete in some areas. Please excuse the mess.


diagram

Single Server Solution

A solution for beginners or for people who do not have multiple servers available to them. This solution includes a single physical server running 2 instances of Tinydns. The end result is the ability to have 2 nameservers, thus meeting the registrar requirements for delegating domains to your DNS system. This solution offers almost no redundancy in case of server failure, but is a good start for beginners or for the financially challenged.


diagram

Multiple Server Solution

A fully redundant, professional solution suitable for controlling DNS for large numbers of domains. A physical master server backed up by 2 or more physical slave servers ensures full and instant redundancy should one or more servers go down for any reason. Changes are made to domain records on the master server and within minutes the 2 or more slave servers remotely sync with the master server, resulting in multiple servers containing the exact same DNS records. This solution requires at least 3 physical servers.
1. Getting started - Requirements and pre-requisites.
The Master DNS Server
2. Download - Get the needed djbdns software. 1. Getting started - Requirements and pre-requisites.
3. Installing djbdns itself - The foundation for it all 2. Download - Get the needed djbdns software.
4. Deploying tinydns - The DNS sevrver itself 3. Installing djbdns itself - The foundation for it all
5. DNScache - Deploying a local DNS cache 4. Deploying tinydns - The DNS sevrver itself
6. Deploying Vegadns - A web based DNS interface 5. DNScache - Deploying a local DNS cache
7. Test drive - Testing your new DNS server 6. Deploying Vegadns - A web based DNS interface
8. Under the hood - A look behind the scenes. 7. Test drive - Testing the master server
9. Expansion - Upgrading to multiple servers.
The Slave DNS Servers
10. Closing notes & feedback 8. DNS Slaves - Setting up the slave DNS servers
 
Bringing it all together
9. Fun with rsync - Syncing all of your servers.
10. Test drive - Testing your new DNS cluster
11. Under the hood - A look behind the scenes.
12. Expansion - How to add additional slave servers.
13. Closing notes & feedback

 

Want to know what other people have has to say about this site? Click here.

djbdnsrocks.org PDF version now available! Get it here!

 

This site has been viewed $counter"; $fp = fopen($counter_file, "w"); fwrite($fp, $counter); fclose($fp); ?> times since its creation.