5. DNS Web Management

Source: Internet
Author: User

1, named Manager introduction

Using the new Amberphplib framework, compatible with MySQL5.6 STRICT SQL mode, is a web-based DNS management system that can be used to add, tune, and delete DNS zones/records data, support bind as the backend DNS service, Support IPV4 and IPV6.

2, Namedmanager Software Installation method

(1) Download warehouse address

#wget-O/etc/yum.repos.d/amberdms-c6-public.repo Http://repos.jethrocarr.com/config/centos/6/amberdms-c6-public.repo

(2) Installing the Namedmanager package

#yum-y Install namedmanager*



Hint: currently need to modify named.conf, add include "/etc/named.namedmanager.conf", in addition, PHP Administration page need to configure/etc/namedmanager/config-bind.php file

(3) Main configuration files and functions

serial number file path   remarks
1 /etc/ namedmanager/ namedmanager configuration directory
2 /etc/cron.d/ namedmanager-bind 
3 /etc/init.d/ Namedmanager_logpush Log collection Start|stop startup script
4 /etc/named.conf default DNS server directory
5 /var/named/chroot/etc/named.conf Using Bind-chroot.

/etc/cron.d/namedmanager-bind every minute to refresh and log the DNS data data in MySQL

(4) Modifying file properties

Chkconfig--level Namedmanager_logpush on

Chown named.root/etc/named.namedmanager.conf

(5) Associated database:

The database machine does the following:

Mysql-u root-p

Create database Namedmanager;//Creating a library

Create user ' Namedmanager ' @ ' 10.8.97.136 '; Create user

Set password for ' Namedmanager ' @ ' 10.8.97.136 ' =password (' Namedmanager ');//Setting a password for creating a user

Grant all on namedmanager.* to [email protected] ' 10.8.97.136 ' identified by ' namedmanager ';//To create user authorization

Use Namedmanager;

Namedmanager Modify the Profile Association database:

/etc/namedmanager/config.php

/usr/share/namedmanager/resources/autoinstall.pl

./autoinstall.pl

Another way is to copy the/usr/share/namedmanager/sql/version_20131222_install.sql (the latest version) to the database machine, and then pour into the specified library;

(6) Associated DNS

Operation of the DNS machine:

To modify the DNS named.conf file: Add the following sentence

Include "/etc/named.namedmanager.conf";

Modify the Namedmanager Profile Association DNS:

vim/etc/namedmanager/config-bind.php


(7) Start the Web service (previously Yum has been installed)

/ETC/INIT.D/HTTPD start

Browser open: http://10.8.97.136//namedmanager/for login test (default setup/setup123)


Make sure that the last green section is in profile sync, assuming a non-green display, you need to further debug


To detect if the Namedmanager configuration file is the correct method

Php-q/usr/share/namedmanager/bind/namedmanager_bind_configwriter.php





5. DNS Web Management

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.