<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Andryan's Random Notes &#187; DNS</title>
	<atom:link href="http://blog.nirkabel.org/category/dns/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.nirkabel.org</link>
	<description>This blog is here to stay</description>
	<lastBuildDate>Fri, 20 Jan 2012 03:17:09 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>MikroTik simple script to update ZoneEdit Dynamic DNS</title>
		<link>http://blog.nirkabel.org/2010/04/22/mikrotik-simple-script-to-update-zoneedit-dynamic-dns/</link>
		<comments>http://blog.nirkabel.org/2010/04/22/mikrotik-simple-script-to-update-zoneedit-dynamic-dns/#comments</comments>
		<pubDate>Thu, 22 Apr 2010 15:01:37 +0000</pubDate>
		<dc:creator>Andryan</dc:creator>
				<category><![CDATA[DNS]]></category>
		<category><![CDATA[MikroTik]]></category>
		<category><![CDATA[Technical]]></category>

		<guid isPermaLink="false">http://blog.nirkabel.org/?p=118</guid>
		<description><![CDATA[I have a MikroTik router (RouterOS v4.x) with an ADSL connection at work, unfortunately it comes with dynamic public IP address.  I need to connect to my office workstation or simply the MikroTik router from home or elsewhere but I need to know its latest IP address all the time, so I decided to use [...]]]></description>
			<content:encoded><![CDATA[<p>I have a MikroTik router (RouterOS v4.x) with an ADSL connection at work, unfortunately it comes with dynamic public IP address.  I need to connect to my office workstation or simply the MikroTik router from home or elsewhere but I need to know its latest IP address all the time, so I decided to use ZoneEdit&#8217;s Dynamic DNS service.</p>
<p>Add a new script to the MikroTik router (replace those in bold):</p>
<ul>
<li> /system script add name=zoneedit-dyndns source=&#8221;/tool fetch url=\&#8221;http://dynamic.zoneedit.com/auth/dynamic.html\?host=<strong>dyndns.example.com</strong>&amp;dnsto=127.0.0.1\&#8221; user=<strong>ZEUser</strong> password=<strong>ZEPass</strong> keep-result=no\r\n/delay 30\r\n/tool fetch url=\&#8221;http://dynamic.zoneedit.com/auth/dynamic.html\?host=<strong>dyndns.example.com</strong>\&#8221; user=<strong>ZEUser</strong> password=<strong>ZEPass</strong> keep-result=no&#8221; policy=read</li>
</ul>
<p>Test the script by running it manually:</p>
<ul>
<li> /system script run zoneedit-dyndns</li>
</ul>
<p>If it shows 2 lines of &#8220;status: finished&#8221;, then the script works properly.</p>
<p>Schedule the script to run regularly (in this case, every 10 minutes):</p>
<ul>
<li> /system scheduler add name=&#8221;zoneedit-dyndns&#8221; interval=10m on-event=&#8221;/system script run zoneedit-dyndns&#8221; policy=read,test</li>
</ul>
<p>Why does it require 2 &#8220;fetch&#8221; commands to update?  I think there is a bug in ZoneEdit&#8217;s Dynamic DNS updater, so it needs to be <em>forced</em>. The new dynamic DNS change entry has to be significantly different from the previous dynamic DNS entry before the ZoneEdit backend would <strong>really</strong> update it.</p>
<p>Thanks, ZoneEdit!</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.nirkabel.org/2010/04/22/mikrotik-simple-script-to-update-zoneedit-dynamic-dns/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>PowerAdmin</title>
		<link>http://blog.nirkabel.org/2006/05/15/poweradmin/</link>
		<comments>http://blog.nirkabel.org/2006/05/15/poweradmin/#comments</comments>
		<pubDate>Mon, 15 May 2006 06:18:19 +0000</pubDate>
		<dc:creator>Andryan</dc:creator>
				<category><![CDATA[DNS]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Technical]]></category>

		<guid isPermaLink="false">https://andryan.wordpress.com/2006/05/15/poweradmin/</guid>
		<description><![CDATA[I have been using PowerDNS plus PowerAdmin everytime I&#8217;m asked to build a web-frontend-enabled DNS system. Unfortunately the developers of PowerAdmin abandoned the project a while ago (last update was in 2004). Wim Mostrey made an update to the 2 years old out-of-date PowerAdmin in March 2006. His patch introduces two new features for PowerAdmin. [...]]]></description>
			<content:encoded><![CDATA[<p>I have been using PowerDNS plus PowerAdmin everytime I&#8217;m asked to build a web-frontend-enabled DNS system. Unfortunately the developers of PowerAdmin abandoned the project a while ago (last update was in 2004).<br />
<a href="http://mostrey.be/poweradmin1.2.7-patch" target="_blank">Wim Mostrey</a> made an update to the 2 years old out-of-date PowerAdmin in March 2006. His patch introduces two new features for PowerAdmin.<br />
When installing PowerAdmin, make sure that PEAR-DB and MySQL extension for PHP are installed. Otherwise it would produce an error message that&#8217;s not helpful (Oops! An error occured!). If those two are installed, then PowerAdmin should work properly.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.nirkabel.org/2006/05/15/poweradmin/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>PowerDNS with Plesk servers</title>
		<link>http://blog.nirkabel.org/2006/01/23/powerdns-with-plesk-servers/</link>
		<comments>http://blog.nirkabel.org/2006/01/23/powerdns-with-plesk-servers/#comments</comments>
		<pubDate>Mon, 23 Jan 2006 17:51:18 +0000</pubDate>
		<dc:creator>Andryan</dc:creator>
				<category><![CDATA[DNS]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Plesk]]></category>
		<category><![CDATA[Technical]]></category>

		<guid isPermaLink="false">http://andryan.wordpress.com/2006/01/23/powerdns-with-plesk-servers/</guid>
		<description><![CDATA[Having separate secondary NS for Plesk servers will be difficult to manage. To ease the process, I came up with an idea of using PowerDNS&#8217; supermasters feature. Just shove in the IP of the Plesk server, the name of the secondary NS and the server name to the supermasters table. During initial touch-up of the [...]]]></description>
			<content:encoded><![CDATA[<p align="left">Having separate secondary NS for Plesk servers will be difficult to manage. To ease the process, I came up with an idea of using PowerDNS&#8217; supermasters feature.<br />
Just shove in the IP of the Plesk server, the name of the secondary NS and the server name to the supermasters table.<br />
During initial touch-up of the Plesk server, make sure while modifying the DNS zone template to use THAT Plesk server as the first NS record. Otherwise it would cause problem with wrong SOA name causing PowerDNS not recognizing AXFR sent by the Plesk server.<br />
Also make sure PowerDNS IP is included in the allowed list of AXFR on Plesk!</p>
<p align="left">Some useful queries for PowerDNS&#8217; SQL:<br />
delete records.* from records, domains where records.domain_id = domains.id and domains.account = &#8216;SERVERNAME&#8217;;<br />
delete from domains where account = &#8216;SERVERNAME&#8217;;</p>
<p align="left">Valid for Plesk 7.5.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.nirkabel.org/2006/01/23/powerdns-with-plesk-servers/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

