{"id":898,"date":"2014-06-18T03:33:33","date_gmt":"2014-06-18T06:33:33","guid":{"rendered":"http:\/\/www.viazap.com.br\/?p=898"},"modified":"2014-06-18T03:33:33","modified_gmt":"2014-06-18T06:33:33","slug":"installing-mydns-ng-mydnsconfig-on-debian-squeeze","status":"publish","type":"post","link":"https:\/\/blog.clusterweb.com.br\/?p=898","title":{"rendered":"Installing MyDNS-NG &#038; MyDNSConfig On Debian Squeeze"},"content":{"rendered":"<p style=\"color: #000000;\">This tutorial will describe how to install and configure\u00a0<a style=\"color: #003399;\" href=\"http:\/\/www.mydns.pl\/\" target=\"_blank\">MyDNS-NG<\/a>\u00a0and\u00a0<a style=\"color: #003399;\" href=\"http:\/\/www.mydnsconfig.org\/\" target=\"_blank\">MyDNSConfig 3<\/a>\u00a0on Debian Squeeze. MyDNS-NG (based on MyDNS originally writen by Don Moore &#8211;\u00a0<a style=\"color: #003399;\" href=\"http:\/\/mydns.bboy.net\/\" target=\"_blank\">http:\/\/mydns.bboy.net\/<\/a>) is a DNS server that uses a MySQL database as backend instead of configuration files. The advantage is that MyDNS simply reads the records from the database, and it does not have to be restarted\/reloaded when DNS records change or zones are created\/edited\/deleted. A secondary nameserver can be easily set up by installing a second instance of MyDNS that accesses the same database or, to be more redundant, uses the MySQL master \/ slave replication features to replicate the data to the secondary nameserver.<\/p>\n<p style=\"color: #000000;\">MyDNSConfig is an easy to use web-based interface to MyDNS-NG. MyDNSConfig can create all types of DNS records that are available in MyDNS and adds features like user management and access privileges.<\/p>\n<p style=\"color: #000000;\">I do not issue any guarantee that this will work for you!<!--more--><\/p>\n<p style=\"color: #000000;\">\n<h3 style=\"color: #000000;\">1 Preliminary Note<\/h3>\n<p style=\"color: #000000;\">In this tutorial I use the hostname\u00a0<span class=\"system\" style=\"font-style: italic;\">server1.example.com<\/span>\u00a0with the IP address\u00a0<span class=\"system\" style=\"font-style: italic;\">192.168.0.100<\/span>. These settings might differ for you, so you have to replace them where appropriate.<\/p>\n<p style=\"color: #000000;\">\n<h3 style=\"color: #000000;\">2 Installing MySQL<\/h3>\n<p style=\"color: #000000;\">We can install MySQL as follows:<\/p>\n<p class=\"command\" style=\"font-style: italic; color: #000000;\">aptitude install mysql-client mysql-server<\/p>\n<p style=\"color: #000000;\">You will be asked the following questions:<\/p>\n<p style=\"color: #000000;\"><span class=\"system\" style=\"font-style: italic;\">New password for the MySQL &#8220;root&#8221; user:<\/span>\u00a0<span class=\"highlight\" style=\"color: #ff0000;\">&lt;&#8211; yourrootsqlpassword<\/span><br \/>\n<span class=\"system\" style=\"font-style: italic;\">Repeat password for the MySQL &#8220;root&#8221; user:<\/span>\u00a0<span class=\"highlight\" style=\"color: #ff0000;\">&lt;&#8211; yourrootsqlpassword<\/span><\/p>\n<p style=\"color: #000000;\">\n<h3 style=\"color: #000000;\">3 Installing Apache2, PHP, phpMyAdmin<\/h3>\n<p style=\"color: #000000;\">MyDNSConfig needs a web server with PHP support; therefore I install Apache2. I also install phpMyAdmin so that I can access the database later on over a web interface (although this is optional):<\/p>\n<p class=\"command\" style=\"font-style: italic; color: #000000;\">aptitude install apache2 apache2-mpm-prefork imagemagick mcrypt php5 php-auth php5-gd php5-imagick php5-imap php5-mcrypt php5-mysql php-pear phpmyadmin vlogger<\/p>\n<p style=\"color: #000000;\">You will see the following question:<\/p>\n<div id=\"adrectangleb_flex\" style=\"color: #000000;\" align=\"center\"><\/div>\n<div id=\"adibm300x600_flex\" style=\"color: #000000;\" align=\"center\"><\/div>\n<p style=\"color: #000000;\"><span class=\"system\" style=\"font-style: italic;\">Web server to reconfigure automatically:<\/span>\u00a0<span class=\"highlight\" style=\"color: #ff0000;\">&lt;&#8211; apache2<\/span><\/p>\n<p style=\"color: #000000;\">Then run the following command to enable the Apache modules\u00a0<span class=\"system\" style=\"font-style: italic;\">suexec<\/span>,\u00a0<span class=\"system\" style=\"font-style: italic;\">rewrite<\/span>,\u00a0<span class=\"system\" style=\"font-style: italic;\">ssl<\/span>,\u00a0<span class=\"system\" style=\"font-style: italic;\">actions<\/span>, and\u00a0<span class=\"system\" style=\"font-style: italic;\">include<\/span>:<\/p>\n<p class=\"command\" style=\"font-style: italic; color: #000000;\">a2enmod suexec rewrite ssl actions include<\/p>\n<p style=\"color: #000000;\">Restart Apache afterwards:<\/p>\n<p class=\"command\" style=\"font-style: italic; color: #000000;\">\/etc\/init.d\/apache2 restart<\/p>\n<p style=\"color: #000000;\">You can now access phpMyAdmin under\u00a0<span class=\"system\" style=\"font-style: italic;\">http:\/\/server1.example.com\/phpmyadmin\/<\/span>\u00a0or\u00a0<span class=\"system\" style=\"font-style: italic;\">http:\/\/192.168.0.100\/phpmyadmin\/<\/span>.<\/p>\n<p style=\"color: #000000;\">\n<h3 style=\"color: #000000;\">4 Installing MyDNS<\/h3>\n<p style=\"color: #000000;\">Before we install MyDNS, we need to install a few prerequisites:<\/p>\n<p class=\"command\" style=\"font-style: italic; color: #000000;\">aptitude install build-essential libmysqlclient-dev<\/p>\n<p style=\"color: #000000;\">MyDNS is not available in the Debian Squeeze repositories, therefore we have to build it ourselves as follows:<\/p>\n<p class=\"command\" style=\"font-style: italic; color: #000000;\">cd \/tmp<br \/>\nwget http:\/\/sourceforge.net\/projects\/mydns-ng\/files\/mydns\/1.2.8.31\/mydns-1.2.8.31.tar.gz<br \/>\ntar xfz mydns-1.2.8.31.tar.gz<br \/>\ncd mydns-1.2.8.31\/<br \/>\n.\/configure<br \/>\nmake<br \/>\nmake install<\/p>\n<p style=\"color: #000000;\">Next we create the start\/stop script for MyDNS:<\/p>\n<p class=\"command\" style=\"font-style: italic; color: #000000;\">vi \/etc\/init.d\/mydns<\/p>\n<pre style=\"color: #000000;\">#! \/bin\/sh\r\n#\r\n# mydns         Start the MyDNS server\r\n#\r\n# Author:       Philipp Kern &lt;phil@philkern.de&gt;.\r\n#               Based upon skeleton 1.9.4 by Miquel van Smoorenburg\r\n#               &lt;miquels@cistron.nl&gt; and Ian Murdock &lt;imurdock@gnu.ai.mit.edu&gt;.\r\n#\r\n\r\nset -e\r\n\r\nPATH=\/usr\/local\/sbin:\/usr\/local\/bin:\/sbin:\/bin:\/usr\/sbin:\/usr\/bin\r\nDAEMON=\/usr\/local\/sbin\/mydns\r\nNAME=mydns\r\nDESC=\"DNS server\"\r\n\r\nSCRIPTNAME=\/etc\/init.d\/$NAME\r\n\r\n# Gracefully exit if the package has been removed.\r\ntest -x $DAEMON || exit 0\r\n\r\ncase \"$1\" in\r\n  start)\r\n        echo -n \"Starting $DESC: $NAME\"\r\n        start-stop-daemon --start --quiet \\\r\n                --exec $DAEMON -- -b\r\n        echo \".\"\r\n        ;;\r\n  stop)\r\n        echo -n \"Stopping $DESC: $NAME\"\r\n        start-stop-daemon --stop --oknodo --quiet \\\r\n                --exec $DAEMON\r\n        echo \".\"\r\n        ;;\r\n  reload|force-reload)\r\n        echo -n \"Reloading $DESC configuration...\"\r\n        start-stop-daemon --stop --signal HUP --quiet \\\r\n                --exec $DAEMON\r\n        echo \"done.\"\r\n        ;;\r\n  restart)\r\n        echo -n \"Restarting $DESC: $NAME\"\r\n        start-stop-daemon --stop --quiet --oknodo \\\r\n                --exec $DAEMON\r\n        sleep 1\r\n        start-stop-daemon --start --quiet \\\r\n                --exec $DAEMON -- -b\r\n        echo \".\"\r\n        ;;\r\n  *)\r\n        echo \"Usage: $SCRIPTNAME {start|stop|restart|reload|force-reload}\" &gt;&amp;2\r\n        exit 1\r\n        ;;\r\nesac\r\n\r\nexit 0<\/pre>\n<p style=\"color: #000000;\">Then we make the script executable and create the system startup links for it:<\/p>\n<p class=\"command\" style=\"font-style: italic; color: #000000;\">chmod +x \/etc\/init.d\/mydns<br \/>\nupdate-rc.d mydns defaults<\/p>\n<h3>5 Installing MyDNSConfig 3<\/h3>\n<div><\/div>\n<div id=\"adlinkblock\"><\/div>\n<p>We can install MyDNSConfig 3 as follows:<\/p>\n<p class=\"command\">cd \/tmp<br \/>\nwget http:\/\/downloads.sourceforge.net\/mydnsconfig\/MyDNSConfig-3.0.1.tar.gz<br \/>\ntar xvfz MyDNSConfig-3.0.1.tar.gz<br \/>\ncd mydnsconfig\/<\/p>\n<p>We need to edit the\u00a0<span class=\"system\">\/tmp\/mydnsconfig\/install\/lib\/install.lib.php\u00a0<\/span>file and add the following lines after line 77:<\/p>\n<pre> $distbaseid = 'debian';\r\n             swriteln(\"Operating System: Debian Lenny\/Sid or compatible\\n\");\r\n         }\r\n+        if(trim(file_get_contents('\/etc\/debian_version')) == '6.0' || trim(file_get_contents('\/etc\/debian_version')) == 'squeeze\/sid') {\r\n+            $distname = 'Debian';\r\n+            $distver = 'Squeeze\/Sid';\r\n+            $distid = 'debian40';\r\n+            $distbaseid = 'debian';\r\n+            swriteln(\"Operating System: Debian Squeeze\/Sid or compatible\\n\");\r\n+        }\r\n+\r\n     }\r\n\r\n     \/\/** OpenSuSE<\/pre>\n<p>This will start the MyDNSConfig 3 installer:<\/p>\n<p class=\"command\">cd install\/<br \/>\nphp -q install.php<\/p>\n<p><span class=\"system\"><br \/>\n&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8211;<br \/>\n__\u00a0\u00a0__\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0_____\u00a0\u00a0_\u00a0\u00a0\u00a0_\u00a0\u00a0_____\u00a0\u00a0_____\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0__\u00a0_<br \/>\n|\u00a0\u00a0\\\/\u00a0\u00a0|\u00a0\u00a0\u00a0\u00a0\u00a0|\u00a0\u00a0__\u00a0\\|\u00a0\\\u00a0|\u00a0|\/\u00a0____|\/\u00a0____|\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\/\u00a0_(_)<br \/>\n|\u00a0\\\u00a0\u00a0\/\u00a0|_\u00a0\u00a0\u00a0_|\u00a0|\u00a0\u00a0|\u00a0|\u00a0\u00a0\\|\u00a0|\u00a0(___\u00a0|\u00a0|\u00a0\u00a0\u00a0\u00a0\u00a0___\u00a0\u00a0_\u00a0__\u00a0|\u00a0|_\u00a0_\u00a0\u00a0__\u00a0_<br \/>\n|\u00a0|\\\/|\u00a0|\u00a0|\u00a0|\u00a0|\u00a0|\u00a0\u00a0|\u00a0|\u00a0.\u00a0`\u00a0|\\___\u00a0\\|\u00a0|\u00a0\u00a0\u00a0\u00a0\/\u00a0_\u00a0\\|\u00a0&#8216;_\u00a0\\|\u00a0\u00a0_|\u00a0|\/\u00a0_`\u00a0|<br \/>\n|\u00a0|\u00a0\u00a0|\u00a0|\u00a0|_|\u00a0|\u00a0|__|\u00a0|\u00a0|\\\u00a0\u00a0|____)\u00a0|\u00a0|___|\u00a0(_)\u00a0|\u00a0|\u00a0|\u00a0|\u00a0|\u00a0|\u00a0|\u00a0(_|\u00a0|<br \/>\n|_|\u00a0\u00a0|_|\\__,\u00a0|_____\/|_|\u00a0\\_|_____\/\u00a0\\_____\\___\/|_|\u00a0|_|_|\u00a0|_|\\__,\u00a0|<br \/>\n__\/\u00a0|\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0__\/\u00a0|<br \/>\n|___\/\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0|___\/<br \/>\n&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8211;<\/p>\n<p>&gt;&gt;\u00a0Initial\u00a0configuration<\/p>\n<p>Operating\u00a0System:\u00a0Debian Squeeze\/Sid\u00a0or\u00a0compatible<\/p>\n<p>Following\u00a0will\u00a0be\u00a0a\u00a0few\u00a0questions\u00a0for\u00a0primary\u00a0configuration\u00a0so\u00a0be\u00a0careful.<br \/>\nDefault\u00a0values\u00a0are\u00a0in\u00a0[brackets]\u00a0and\u00a0can\u00a0be\u00a0accepted\u00a0with\u00a0&lt;ENTER&gt;.<br \/>\nTap\u00a0in\u00a0&#8220;quit&#8221;\u00a0(without\u00a0the\u00a0quotes)\u00a0to\u00a0stop\u00a0the\u00a0installer.<\/p>\n<p>Select\u00a0language\u00a0(en,de)\u00a0[en]:<\/span>\u00a0<span class=\"highlight\" style=\"color: #ff0000;\">&lt;&#8211;\u00a0ENTER<\/span><\/p>\n<p><span class=\"system\">Installation\u00a0mode\u00a0(standard,expert)\u00a0[standard]:<\/span>\u00a0<span class=\"highlight\" style=\"color: #ff0000;\">&lt;&#8211;\u00a0ENTER<\/span><\/p>\n<p><span class=\"system\">Full\u00a0qualified\u00a0hostname\u00a0(FQDN)\u00a0of\u00a0the\u00a0server,\u00a0eg\u00a0server1.domain.tld\u00a0\u00a0[server1.example.com]:<\/span>\u00a0<span class=\"highlight\" style=\"color: #ff0000;\">&lt;&#8211;\u00a0ENTER<\/span><\/p>\n<p><span class=\"system\">MySQL\u00a0server\u00a0hostname\u00a0[localhost]:<\/span>\u00a0<span class=\"highlight\" style=\"color: #ff0000;\">&lt;&#8211;\u00a0ENTER<\/span><\/p>\n<p><span class=\"system\">MySQL\u00a0root\u00a0username\u00a0[root]:<\/span>\u00a0<span class=\"highlight\" style=\"color: #ff0000;\">&lt;&#8211;\u00a0ENTER<\/span><\/p>\n<p><span class=\"system\">MySQL\u00a0root\u00a0password\u00a0[]:<\/span>\u00a0<span class=\"highlight\" style=\"color: #ff0000;\">&lt;&#8211;\u00a0yourrootsqlpassword<\/span><\/p>\n<p><span class=\"system\">MySQL\u00a0database\u00a0to\u00a0create\u00a0[dbmydnsconfig]:<\/span>\u00a0<span class=\"highlight\" style=\"color: #ff0000;\">&lt;&#8211;\u00a0ENTER<\/span><\/p>\n<p><span class=\"system\">MySQL\u00a0charset\u00a0[utf8]:<\/span>\u00a0<span class=\"highlight\" style=\"color: #ff0000;\">&lt;&#8211;\u00a0ENTER<\/span><\/p>\n<p><span class=\"system\">Configuring\u00a0MyDNS<br \/>\nConfiguring\u00a0Apache<br \/>\nConfiguring\u00a0Firewall<br \/>\nInstalling\u00a0MyDNSConfig<br \/>\nMyDNSConfig\u00a0Port\u00a0[8080]:<\/span>\u00a0<span class=\"highlight\" style=\"color: #ff0000;\">&lt;&#8211;\u00a0ENTER<\/span><\/p>\n<p><span class=\"system\">Installing\u00a0Crontab<br \/>\nno\u00a0crontab\u00a0for\u00a0root<br \/>\nRestarting\u00a0services\u00a0&#8230;<br \/>\nRestarting\u00a0web\u00a0server:\u00a0apache2\u00a0&#8230;\u00a0waiting\u00a0.<br \/>\nInstallation\u00a0completed.<br \/>\nserver1:\/tmp\/mydnsconfig\/install#<\/span><\/p>\n<p>The installer automatically configures all underlying services, so no manual configuration is needed.<\/p>\n<p>Afterwards you can access MyDNSConfig 3 under\u00a0<span class=\"system\">http:\/\/server1.example.com:8080\/<\/span>\u00a0or\u00a0<span class=\"system\">http:\/\/192.168.0.100:8080\/<\/span>. Log in with the username\u00a0<span class=\"system\">admin<\/span>\u00a0and the password<span class=\"system\">admin<\/span>\u00a0(you should change the default password after your first login):<\/p>\n<p><a class=\"thickbox\" style=\"color: #003399;\" href=\"http:\/\/static.howtoforge.com\/images\/mydns_ng_mydnsconfig_debian_lenny\/big\/1.png\"><img loading=\"lazy\" decoding=\"async\" src=\"http:\/\/static.howtoforge.com\/images\/mydns_ng_mydnsconfig_debian_lenny\/1.png\" alt=\"\" width=\"550\" height=\"398\" \/><\/a><\/p>\n<div><a class=\"thickbox\" style=\"color: #003399;\" href=\"http:\/\/static.howtoforge.com\/images\/mydns_ng_mydnsconfig_debian_lenny\/big\/1.png\"><img loading=\"lazy\" decoding=\"async\" src=\"http:\/\/static.howtoforge.com\/images\/click_to_enlarge.png\" alt=\"Click to enlarge\" width=\"100\" height=\"12\" border=\"0\" \/><\/a><\/div>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<h3>6 Using MyDNSConfig 3<\/h3>\n<p>The DNS tab is the most important part of MyDNSConfig because that&#8217;s where you can create zones and records, so I will focus on that tab.<\/p>\n<p>To create a new zone, click on the\u00a0<span class=\"system\">Add new DNS Zone (SOA)<\/span>\u00a0button:<\/p>\n<p><a class=\"thickbox\" style=\"color: #003399;\" href=\"http:\/\/static.howtoforge.com\/images\/mydns_ng_mydnsconfig_debian_lenny\/big\/2.png\"><img loading=\"lazy\" decoding=\"async\" src=\"http:\/\/static.howtoforge.com\/images\/mydns_ng_mydnsconfig_debian_lenny\/2.png\" alt=\"\" width=\"550\" height=\"398\" \/><\/a><\/p>\n<div><a class=\"thickbox\" style=\"color: #003399;\" href=\"http:\/\/static.howtoforge.com\/images\/mydns_ng_mydnsconfig_debian_lenny\/big\/2.png\"><img loading=\"lazy\" decoding=\"async\" src=\"http:\/\/static.howtoforge.com\/images\/click_to_enlarge.png\" alt=\"Click to enlarge\" width=\"100\" height=\"12\" border=\"0\" \/><\/a><\/div>\n<p>&nbsp;<\/p>\n<p>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 (<span class=\"highlight\" style=\"color: #ff0000;\">please note that you must replace the @ sign with a dot!<\/span>); these three details\u00a0<span class=\"highlight\" style=\"color: #ff0000;\">must end with a dot!<\/span>\u00a0You can leave the other details as they are. You can now save the zone or go directly to the\u00a0<span class=\"system\">Records<\/span>\u00a0tab (this will save the zone details automatically):<\/p>\n<div id=\"adrectangleb_flex\" align=\"center\"><\/div>\n<div id=\"adibm300x600_flex\" align=\"center\"><\/div>\n<p><a class=\"thickbox\" style=\"color: #003399;\" href=\"http:\/\/static.howtoforge.com\/images\/mydns_ng_mydnsconfig_debian_lenny\/big\/3.png\"><img loading=\"lazy\" decoding=\"async\" src=\"http:\/\/static.howtoforge.com\/images\/mydns_ng_mydnsconfig_debian_lenny\/3.png\" alt=\"\" width=\"550\" height=\"398\" \/><\/a><\/p>\n<div><a class=\"thickbox\" style=\"color: #003399;\" href=\"http:\/\/static.howtoforge.com\/images\/mydns_ng_mydnsconfig_debian_lenny\/big\/3.png\"><img loading=\"lazy\" decoding=\"async\" src=\"http:\/\/static.howtoforge.com\/images\/click_to_enlarge.png\" alt=\"Click to enlarge\" width=\"100\" height=\"12\" border=\"0\" \/><\/a><\/div>\n<p>&nbsp;<\/p>\n<p>On the records tab, you can now create all kinds of DNS records (A, CNAME, MX, NS, TXT, etc.) &#8211; just click on the appropriate button:<\/p>\n<p><a class=\"thickbox\" style=\"color: #003399;\" href=\"http:\/\/static.howtoforge.com\/images\/mydns_ng_mydnsconfig_debian_lenny\/big\/4.png\"><img loading=\"lazy\" decoding=\"async\" src=\"http:\/\/static.howtoforge.com\/images\/mydns_ng_mydnsconfig_debian_lenny\/4.png\" alt=\"\" width=\"550\" height=\"398\" \/><\/a><\/p>\n<div><a class=\"thickbox\" style=\"color: #003399;\" href=\"http:\/\/static.howtoforge.com\/images\/mydns_ng_mydnsconfig_debian_lenny\/big\/4.png\"><img loading=\"lazy\" decoding=\"async\" src=\"http:\/\/static.howtoforge.com\/images\/click_to_enlarge.png\" alt=\"Click to enlarge\" width=\"100\" height=\"12\" border=\"0\" \/><\/a><\/div>\n<p>&nbsp;<\/p>\n<p>For example, here&#8217;s the form for creating NS records (<span class=\"highlight\" style=\"color: #ff0000;\">please keep in mind that if you write full hostnames, they must end with a dot!<\/span>):<\/p>\n<p><a class=\"thickbox\" style=\"color: #003399;\" href=\"http:\/\/static.howtoforge.com\/images\/mydns_ng_mydnsconfig_debian_lenny\/big\/5.png\"><img loading=\"lazy\" decoding=\"async\" src=\"http:\/\/static.howtoforge.com\/images\/mydns_ng_mydnsconfig_debian_lenny\/5.png\" alt=\"\" width=\"550\" height=\"398\" \/><\/a><\/p>\n<div><a class=\"thickbox\" style=\"color: #003399;\" href=\"http:\/\/static.howtoforge.com\/images\/mydns_ng_mydnsconfig_debian_lenny\/big\/5.png\"><img loading=\"lazy\" decoding=\"async\" src=\"http:\/\/static.howtoforge.com\/images\/click_to_enlarge.png\" alt=\"Click to enlarge\" width=\"100\" height=\"12\" border=\"0\" \/><\/a><\/div>\n<p>&nbsp;<\/p>\n<p>Here&#8217;s the overview &#8211; as you see, I&#8217;ve created some more records:<\/p>\n<p><a class=\"thickbox\" style=\"color: #003399;\" href=\"http:\/\/static.howtoforge.com\/images\/mydns_ng_mydnsconfig_debian_lenny\/big\/6.png\"><img loading=\"lazy\" decoding=\"async\" src=\"http:\/\/static.howtoforge.com\/images\/mydns_ng_mydnsconfig_debian_lenny\/6.png\" alt=\"\" width=\"550\" height=\"398\" \/><\/a><\/p>\n<div><a class=\"thickbox\" style=\"color: #003399;\" href=\"http:\/\/static.howtoforge.com\/images\/mydns_ng_mydnsconfig_debian_lenny\/big\/6.png\"><img loading=\"lazy\" decoding=\"async\" src=\"http:\/\/static.howtoforge.com\/images\/click_to_enlarge.png\" alt=\"Click to enlarge\" width=\"100\" height=\"12\" border=\"0\" \/><\/a><\/div>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<h3>7 Updating MyDNSConfig 3<\/h3>\n<p>Whenever there&#8217;s a newer MyDNSConfig 3 release, you can update your MyDNSConfig 3 installation as follows:<\/p>\n<p class=\"command\">mydnsconfig_update.sh<\/p>\n<p>This will bring up the update wizard.\u00a0<span class=\"highlight\" style=\"color: #ff0000;\">PLEASE NOTE:<\/span>\u00a0you 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!!!<\/p>\n","protected":false},"excerpt":{"rendered":"<p>This tutorial will describe how to install and configure\u00a0MyDNS-NG\u00a0and\u00a0MyDNSConfig 3\u00a0on Debian Squeeze. MyDNS-NG (based on MyDNS originally writen by Don Moore &#8211;\u00a0http:\/\/mydns.bboy.net\/) is a DNS server that uses a MySQL database as backend instead of configuration files. The advantage is that MyDNS simply reads the records from the database, and it does not have to [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"site-sidebar-layout":"default","site-content-layout":"","ast-site-content-layout":"default","site-content-style":"default","site-sidebar-style":"default","ast-global-header-display":"","ast-banner-title-visibility":"","ast-main-header-display":"","ast-hfb-above-header-display":"","ast-hfb-below-header-display":"","ast-hfb-mobile-header-display":"","site-post-title":"","ast-breadcrumbs-content":"","ast-featured-img":"","footer-sml-layout":"","ast-disable-related-posts":"","theme-transparent-header-meta":"","adv-header-id-meta":"","stick-header-meta":"","header-above-stick-meta":"","header-main-stick-meta":"","header-below-stick-meta":"","astra-migrate-meta-layouts":"default","ast-page-background-enabled":"default","ast-page-background-meta":{"desktop":{"background-color":"var(--ast-global-color-4)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"tablet":{"background-color":"","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"mobile":{"background-color":"","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""}},"ast-content-background-meta":{"desktop":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"tablet":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"mobile":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""}},"footnotes":""},"categories":[455,91,1,42,51,495,514,68,271,548],"tags":[562,634,635],"class_list":["post-898","post","type-post","status-publish","format-standard","hentry","category-apache2","category-banco-de-dados","category-viazap","category-leitura-recomendada","category-linux-linuxrs","category-profissional-de-ti","category-programacao","category-redes-2","category-seguranca-2","category-ubuntu-2","tag-installing","tag-mydns-ng-mydnsconfig","tag-on-debian-squeeze"],"_links":{"self":[{"href":"https:\/\/blog.clusterweb.com.br\/index.php?rest_route=\/wp\/v2\/posts\/898","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/blog.clusterweb.com.br\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blog.clusterweb.com.br\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/blog.clusterweb.com.br\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/blog.clusterweb.com.br\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=898"}],"version-history":[{"count":1,"href":"https:\/\/blog.clusterweb.com.br\/index.php?rest_route=\/wp\/v2\/posts\/898\/revisions"}],"predecessor-version":[{"id":899,"href":"https:\/\/blog.clusterweb.com.br\/index.php?rest_route=\/wp\/v2\/posts\/898\/revisions\/899"}],"wp:attachment":[{"href":"https:\/\/blog.clusterweb.com.br\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=898"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blog.clusterweb.com.br\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=898"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blog.clusterweb.com.br\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=898"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}