HowtoForge: Running A MySQL-Based DNS Server: MyDNS

Written By
FT
Falko Timme
Jan 24, 2006

[ Thanks to Falko
Timme
for this link. ]

“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…”

Complete
Story

FT

Falko Timme

Linux Today Logo

LinuxToday is a trusted, contributor-driven news resource supporting all types of Linux users. Our thriving international community engages with us through social media and frequent content contributions aimed at solving problems ranging from personal computing to enterprise-level IT operations. LinuxToday serves as a home for a community that struggles to find comparable information elsewhere on the web.

Property of TechnologyAdvice. © 2026 TechnologyAdvice. All Rights Reserved

Advertiser Disclosure: Some of the products that appear on this site are from companies from which TechnologyAdvice receives compensation. This compensation may impact how and where products appear on this site including, for example, the order in which they appear. TechnologyAdvice does not include all companies or all types of products available in the marketplace.