Installing MyDNS-NG & MyDNSConfig 3 On Debian Lenny - Page 2
5 Installing MyDNSConfig 3We can install MyDNSConfig 3 as follows: cd /tmp This will start the MyDNSConfig 3 installer: server1:/tmp/mydnsconfig/install# php -q install.php The installer automatically configures all underlying services, so no manual configuration is needed. Afterwards you can access MyDNSConfig 3 under http://server1.example.com:8080/ or http://192.168.0.100:8080/. Log in with the username admin and the password admin (you should change the default password after your first login):
6 Using MyDNSConfig 3The DNS tab is the most important part of MyDNSConfig because that's where you can create zones and records, so I will focus on that tab. To create a new zone, click on the Add new DNS Zone (SOA) button: Now you can fill in the details of the zone, e.g. the domain name, the primary nameserver, and the email address of the zone administrator (please note that you must replace the @ sign with a dot!); these three details must end with a dot! You can leave the other details as they are. You can now save the zone or go directly to the Records tab (this will save the zone details automatically): On the records tab, you can now create all kinds of DNS records (A, CNAME, MX, NS, TXT, etc.) - just click on the appropriate button: For example, here's the form for creating NS records (please keep in mind that if you write full hostnames, they must end with a dot!): Here's the overview - as you see, I've created some more records:
7 Updating MyDNSConfig 3Whenever there's a newer MyDNSConfig 3 release, you can update your MyDNSConfig 3 installation as follows: mydnsconfig_update.sh This will bring up the update wizard. PLEASE NOTE: you can upgrade to the latest stable version and to the svn version. It is highly recommended to upgrade to the latest stable version as the svn version is used for development and might contain bugs. YOU HAVE BEEN WARNED!!!
8 Upgrading From MyDNSConfig 1.x To MyDNSConfig 3.xThere's no direct upgrade path from MyDNSConfig 1.x to MyDNSConfig 3.x, however it is easy to import the DNS records from MyDNSConfig 1.x into MyDNSConfig 3.x. In this chapter I assume that your old MyDNSConfig 1.x uses the database table mydns, and that your new MyDNSConfig 3 installation uses the database dbmydnsconfig. First install MyDNSConfig 3 as follows: cd /tmp Follow the installation wizard. After the installation has finished (and BEFORE you create any records in the MyDNSConfig 3 web interface!!!), open phpMyAdmin or a MySQL shell and execute the following MySQL queries (as the MySQL root user) to import the DNS records from your old MyDNSConfig 1.x installation into MyDNSConfig 3 (make sure you use the correct database names - you must replace `mydns` and `dbmydnsconfig` if your database names differ!): ALTER TABLE `mydns`.`rr` ADD `server_id` int(11) NOT NULL default '1', ALTER TABLE `mydns`.`rr` MODIFY `sys_userid` int(11) unsigned NOT NULL AFTER `id`, INSERT INTO `dbmydnsconfig`.`dns_rr` UPDATE `dbmydnsconfig`.`dns_rr` SET `sys_userid` = 1, ALTER TABLE `mydns`.`soa` ADD `server_id` int(11) NOT NULL default '1'; ALTER TABLE `mydns`.`soa` MODIFY `sys_userid` int(11) unsigned NOT NULL AFTER `id`, INSERT INTO `dbmydnsconfig`.`dns_soa` UPDATE `dbmydnsconfig`.`dns_soa` SET `sys_userid` = 1, Afterwards, you can access MyDNSConfig 3 on port 8080 (e.g. http://server1.example.com:8080 or http://192.168.0.100:8080); the default login is username admin and password admin. Please note that these MySQL queries make that all zones are owned by admin. If you have zones that should be owned by someone else, create a client for each user in MyDNSConfig 3 and go to the DNS tab and select the correct client for the zones.
9 Links
|









Recent comments
19 hours 48 min ago
1 day 53 min ago
1 day 5 hours ago
1 day 7 hours ago
1 day 21 hours ago
1 day 21 hours ago
2 days 2 hours ago
2 days 9 hours ago
2 days 9 hours ago
2 days 11 hours ago