The DNS server for this example uses Powerdns+mysql+poweradmin to build.
Recently, I installed the Linux Mint 14 desktop operating system on my PC, just like try this desktop version of the operating system can not achieve the performance of server systems, the whole good I recently tried to use a new way to build a DNS server (do not use bind), powerdns+ Mysql+poweradmin, this DNS server is easy to manage because a Web page can add, modify, update, and delete fields or records directly, so I started doing it.
SETP 1: Preparation, you need to download the corresponding package, powerdns,mysql,poweradmin, but fortunately, this desktop version of the Mint is based on the development of Ubuntu, the installation of software in the same way as Ubuntu, Ubuntu Software Warehouse is a variety of software, ah, small series I really experienced a fool like installation enjoy, but to remind you are updating the following local software list library, or you want to search the installed software may not exist
#apt-get Update
Step 2: Install MySQL, because the Powerdns domain and records and other information are recorded in the MySQL database, all MySQL is essential
# apt-get-y Install Mysql-server mysql-client
And because the MySQL default is bound to their own loopback address, so that we can not manage outside management, we could modify the MySQL configuration file to cancel the address binding, where we can use the SED editor to modify, of course, you can use the VI editor directly
# sed-i-E ' s/bind-address/#bind-address/'/etc/mysql/my.cnf
Start MySQL
# service MySQL Start
Then you can look at the startup state of MySQL, if you find that the 3306-port startup will indicate that the MySQL boot is no problem
# NETSTAT-TUPLN |grep MySQL
Step 3: Install Powerdns
# apt-get-y Install Pdns-server Pdns-backend-mysql
After the installation is complete, configure accordingly to allow POWERDNS support Mysql,powerdns official provides an installation documentation