Comments on MyDNS with MyDNSConfig Control Panel and DNSMasq on Ubuntu 6.10
MyDNS with MyDNSConfig Control Panel and DNSMasq on Ubuntu 6.10 In this tutorial I will describe how to install and configure MyDNS and MyDNSConfig. MyDNS is a DNS server that uses a MySQL database as backend instead of configuration files like, for example, Bind or djbdns. The advantage is that 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. A secondary nameserver can be easily set up by installing a second instance of MyDNS that accesses the same database or, to be more redundant, uses the MySQL master / slave replication features to replicate the data to the secondary nameserver.
3 Comment(s)
Comments
Bravo.
This tutorial is very informative and very effective. It is easier to understand modifying sql tables to bind records and domains.
Suggested Additions
One place where it could be improved is to add mention of the fact that mysql must be enabled for php or the mydnsconfig webpage will fail. (I fixed mine by making the following adjustment in /etc/php5/apache2/php.ini: extension=mysql.so )
My second comment to help other newbies like myself would be to add some kind of guide to the syntax of records (ie. http://www.debianhelp.co.uk/dnsrecords.htm) and test procedures to ensure DNS and resolver are working properly.
Great little series of tutorials - had a DNS server up and running in 1/2 an hour. Just to help others a couple of additional pointers:
1/ Test your system using the host and/or dig command (use man host/dig for details) before your connect up to rest of network.
2/ Set your DNS entries on the LAN side of the firewall if you are using your firewall as the DHCP server. Leave the WAN side alone. If you are using this in a small private network (such as at home or in a small office) it is probably sufficient to have one internal DNS server so you can point your 2 DNS entries on the DHCP server with the first at your internal DNS server and the second at your internal Gateway address (usually the firewall.)
If you do this and assuming that you are using dnsmasq, then if your internal DNS falls over, you will still get external name resolution.
Magic Quotes is now not used in PHP... show stopper ?