Running A MySQL-Based DNS Server: MyDNS

Posted by VISITOR on Jan 23, 2006 6:11 AM EDT
HowtoForge; By Falko Timme
Mail this story
Print this story

In this tutorial I will describe how to install and configure MyDNS, a DNS server that uses a MySQL database as backend instead of configuration files like, for example, Bind or djbdns.

In this tutorial I will describe how to install and configure MyDNS, a DNS server that uses a MySQL database as backend instead of configuration files like, for example, Bind or djbdns. This has the advantage that you can easily use web-based frontends to administrate your DNS records. You could even write your own frontend, e.g. using PHP, to interact with the MyDNS database. MyDNS simply reads the records from the database, and it does not have to be restarted/reloaded when DNS records change or zones are created/edited/deleted! This is a major advantage.

I will also show how to set up a secondary DNS server, but I will not use normal zone transfers to get the records from the primary to the secondary DNS server; instead, I will use MySQL database replication. I will simply replicate the data from the primary to the secondary server.

There are multiple web frontends to MyDNS. Of course, you can use phpMyAdmin for the MyDNS administration, or you can use the web frontend that comes with MyDNS (which is not for beginners because it lacks the field descriptions), or you can use MyDNSConfig, a tool written by myself. I will show how to install each of them.

http://www.howtoforge.com/mydns_name_server

Full Story

  Nav
» Read more about: Story Type: Tutorial; Groups: Debian, Fedora, Mandriva, MySQL, PHP, Red Hat, SUSE, Ubuntu

« Return to the newswire homepage

This topic does not have any threads posted yet!

You cannot post until you login.