This is project homepage for Aluminum DNS Server, an open source DNS server suite based on Bind 9.7, MySQL 5.1, PHP 5.2, lighttpd. I wrote some PHP code in order to provide a simple ready-to-use web management interface.

You may have to change a few lines in the code in order to make it run for your application.

 

Welcome

Used Technologies

  1. -Ubuntu Linux

  2. -ISC Bind

  3. -PHP

  4. -Lighttpd


Deployment

Currently running in Qingdao University (www.qdu.edu.cn), qdu1.qdu.edu.cn, qdu2.qdu.edu.cn

bind.conf:

zone "osqdu.org.cn" {

type master;

notify no;

database "mysqldb dns osqdu localhost root password";

};

//This is for osqdu.org.cn

//For other domains, use similar configuration files.

Database:

You have to manually initial the database first:


CREATE TABLE IF NOT EXISTS `osqdu` (

  `ID` int(11) NOT NULL AUTO_INCREMENT,

  `name` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL,

  `ttl` int(11) DEFAULT NULL,

  `rdtype` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL,

  `rdata` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL,

  PRIMARY KEY (`ID`)

) ENGINE=MyISAM  DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci AUTO_INCREMENT=11 ;


INSERT INTO `osqdu` (`ID`, `name`, `ttl`, `rdtype`, `rdata`) VALUES

(1, 'osqdu.org.cn', 600, 'SOA', 'osqdu.org.cn. hostmaster.osqdu.org.cn. 200309182 28800 7200 86400 28800'),

(2, 'osqdu.org.cn', 600, 'NS', 'ns1.osqdu.org.cn'),

(3, 'ns1.osqdu.org.cn', 600, 'A', '10.0.101.99');


Then, enjoy the use!

Configuration