Linux Mint 14 to build a personalized DNS domain name resolution server

Source: Internet
Author: User
Tags bind mysql database linux mint linux

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

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.