<?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>odyniec.net blog &#187; editdns.pl</title>
	<atom:link href="http://odyniec.net/blog/category/projects/editdnspl/feed/" rel="self" type="application/rss+xml" />
	<link>http://odyniec.net/blog</link>
	<description>Just another WordPress weblog</description>
	<lastBuildDate>Mon, 26 Jul 2010 20:37:36 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.1</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>WebService::EditDNS &#8211; Perl interface to EditDNS API</title>
		<link>http://odyniec.net/blog/2010/07/webservice-editdns-perl-interface-to-editdns-api/</link>
		<comments>http://odyniec.net/blog/2010/07/webservice-editdns-perl-interface-to-editdns-api/#comments</comments>
		<pubDate>Mon, 26 Jul 2010 20:37:05 +0000</pubDate>
		<dc:creator>Michal Wojciechowski</dc:creator>
				<category><![CDATA[Perl]]></category>
		<category><![CDATA[editdns.pl]]></category>

		<guid isPermaLink="false">http://odyniec.net/blog/?p=491</guid>
		<description><![CDATA[I have created a simple Perl module that talks to EditDNS API, allowing for easy manipulation of domains/records hosted at EditDNS from within Perl programs. A while ago, I developed a command-line utility that serves a similar purpose, named editdns.pl. The module is sort of an extension of that idea, although it works in a [...]]]></description>
			<content:encoded><![CDATA[<p>I have created a simple Perl module that talks to <a href="http://forums.editdns.net/showthread.php?t=1711">EditDNS API</a>, allowing for easy manipulation of domains/records hosted at <a href="https://www.editdns.net/?site=home">EditDNS</a> from within Perl programs. A while ago, I developed a command-line utility that serves a similar purpose, named <a href="http://odyniec.net/projects/editdns.pl/">editdns.pl</a>. The module is sort of an extension of that idea, although it works in a different manner &#8212; while editdns.pl impersonates a web browser to access the EditDNS control center website and uses hacky HTML scraping techniques, the module plays it nice and only uses elegant API calls.</p>
<p>The module is called WebService::EditDNS, and is <a href="http://search.cpan.org/~odyniec/WebService-EditDNS-0.10/">available for download at CPAN</a>. Eventually, it will probably also get a project homepage here on my website (some day in the not-too-distant future).</p>
]]></content:encoded>
			<wfw:commentRss>http://odyniec.net/blog/2010/07/webservice-editdns-perl-interface-to-editdns-api/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Editdns.pl &#8211; EditDNS Record Management Script</title>
		<link>http://odyniec.net/blog/2009/03/editdnspl-editdns-record-management-script/</link>
		<comments>http://odyniec.net/blog/2009/03/editdnspl-editdns-record-management-script/#comments</comments>
		<pubDate>Tue, 31 Mar 2009 20:20:48 +0000</pubDate>
		<dc:creator>Michal Wojciechowski</dc:creator>
				<category><![CDATA[editdns.pl]]></category>

		<guid isPermaLink="false">http://odyniec.net/blog/?p=136</guid>
		<description><![CDATA[Over the last couple of years, I&#8217;ve used a few more or less popular free DNS hosting services, and my best experience so far has been with EditDNS.net &#8212; mostly because their service really puts you in control of your domains and records. I started using them when I needed to set up SPF records [...]]]></description>
			<content:encoded><![CDATA[<p>Over the last couple of years, I&#8217;ve used a few more or less popular free DNS hosting services, and my best experience so far has been with <a href="http://www.editdns.net/">EditDNS.net</a> &#8212; mostly because their service really puts you in control of your domains and records. I started using them when I needed to set up <a href="http://en.wikipedia.org/wiki/Sender_Policy_Framework"><abbr title="Sender Policy Framework">SPF</abbr> records</a> (which are technically TXT records in a specific format) for a domain, and I discovered TXT records were not supported by most DNS hosting services &#8212; EditDNS being one of the few exceptions.</p>
<p>However, a couple days ago I encountered a problem. I wanted to set up a <a href="http://en.wikipedia.org/wiki/Round_robin_DNS">round robin DNS</a> configuration for a domain with two IP addresses, one of them being a dynamic IP (that changed once every month or two). One of the key objectives was that the DNS records should be updated automatically when the IP changed. An obvious solution would be to use DynDNS records (supported by EditDNS), but I quickly learned that it&#8217;s not possible to set up two records with the same name (which is the basis for a round robin configuration) and make only one of them DynDNS ready. The system considered both records dynamic and wouldn&#8217;t just update one, keeping the other one intact. So, bummer. My next idea was to use the <a href="http://support.nerdie.net/index.php?_m=knowledgebase&#038;_a=viewarticle&#038;kbarticleid=46&#038;nav=0,1">EditDNS API</a> to simply delete the old record and create a new one with the new IP address, but this turned out to be impossible too, as the delete function is not yet implemented in the API. Bummer again.</p>
<p>But there are no unsolvable problems, just unwritten Perl scripts. I ended up putting together a simple script that uses <a href="http://search.cpan.org/~gaas/libwww-perl-5.825/lib/LWP/UserAgent.pm">LWP::UserAgent</a> to log in to the EditDNS website and add new records or delete existing ones. The script is flexible enough for general use, so I&#8217;m <a href="http://odyniec.net/projects/editdns.pl/">making it available</a> &#8212; if any fellow EditDNS users are reading this, maybe you&#8217;ll find it useful too.</p>
]]></content:encoded>
			<wfw:commentRss>http://odyniec.net/blog/2009/03/editdnspl-editdns-record-management-script/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
	</channel>
</rss>
