<?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>Coretanium &#187; PowerDNS</title>
	<atom:link href="http://www.coretanium.net/category/powerdns/feed" rel="self" type="application/rss+xml" />
	<link>http://www.coretanium.net</link>
	<description>tech blah blah</description>
	<lastBuildDate>Tue, 20 Sep 2011 07:21:49 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
		<item>
		<title>PowerDNS: Error: while parsing IP address, expected digits at position 0 in &#8216;.&#8217;</title>
		<link>http://www.coretanium.net/powerdns-error-while-parsing-ip-address-expected-digits-at-position-0-in</link>
		<comments>http://www.coretanium.net/powerdns-error-while-parsing-ip-address-expected-digits-at-position-0-in#comments</comments>
		<pubDate>Sun, 31 Oct 2010 21:59:11 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Blog]]></category>
		<category><![CDATA[PowerDNS]]></category>

		<guid isPermaLink="false">http://www.coretanium.net/?p=391</guid>
		<description><![CDATA[Error: while parsing IP address, expected digits at position 0 in &#8216;.&#8217; Check content field on records table for &#8220;.&#8221; entries. Once removed, the above error should go away.]]></description>
			<content:encoded><![CDATA[<p>Error: while parsing IP address, expected digits at position 0 in &#8216;.&#8217;</p>
<p>Check content field on records table for &#8220;.&#8221; entries. Once removed, the above error should go away.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.coretanium.net/powerdns-error-while-parsing-ip-address-expected-digits-at-position-0-in/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>PowerDNS Multiple MySQL Backends</title>
		<link>http://www.coretanium.net/powerdns-multiple-mysql-backends</link>
		<comments>http://www.coretanium.net/powerdns-multiple-mysql-backends#comments</comments>
		<pubDate>Sun, 10 Jan 2010 13:14:38 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Blog]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[PowerDNS]]></category>

		<guid isPermaLink="false">http://www.xnetcore.com/powerdns-multiple-mysql-backends/</guid>
		<description><![CDATA[http://doc.powerdns.com/modules.html To launch two backends of the same&#160;type, you can assign a name to each launch like this; launch=gmysql:connection1,gmysql:connection2 gmysql-connection1-host=10.10.10.1gmysql-connection1-user=pdnsgmysql-connection1-dbname=pdns gmysql-connection2-host=10.10.10.2gmysql-connection2-user=pdnsgmysql-connection2-dbname=pdns]]></description>
			<content:encoded><![CDATA[<p><font color="#0066cc"><a href="http://doc.powerdns.com/modules.html" target="_blank">http://doc.powerdns.com/modules.html</a><a href="http://doc.powerdns.com/modules.html"></a></font></p>
<p>To launch two backends of the same&nbsp;type, you can assign a name to each launch like this;</p>
<p>launch=gmysql:connection1,gmysql:connection2</p>
<p>gmysql-connection1-host=10.10.10.1<br />gmysql-connection1-user=pdns<br />gmysql-connection1-dbname=pdns</p>
<p>gmysql-connection2-host=10.10.10.2<br />gmysql-connection2-user=pdns<br />gmysql-connection2-dbname=pdns</p>
]]></content:encoded>
			<wfw:commentRss>http://www.coretanium.net/powerdns-multiple-mysql-backends/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>PowerDNS 2.9.22 RPM’s</title>
		<link>http://www.coretanium.net/powerdns-2922-rpm%e2%80%99s</link>
		<comments>http://www.coretanium.net/powerdns-2922-rpm%e2%80%99s#comments</comments>
		<pubDate>Thu, 05 Feb 2009 22:48:54 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[PowerDNS]]></category>

		<guid isPermaLink="false">http://www.xnetcore.com/powerdns-2922-rpm%e2%80%99s/</guid>
		<description><![CDATA[The latest (dynamic) RPM&#8217;s for PowerDNS can be downloaded below. Please note, these RPM&#8217;s only include the MySQL and pipe backend! &#160; pdns-2.9.22-1.i386.src.rpm pdns-2.9.22-1.i386.rpm]]></description>
			<content:encoded><![CDATA[<p>The latest (dynamic) RPM&rsquo;s for PowerDNS can be downloaded below. Please note, these RPM&rsquo;s only include the MySQL and pipe backend!</p>
<p><a href="http://www.xnetcore.com/downloads/pdns-2.9.22-1.x86_64.src.rpm"></a>&nbsp;</p>
<p><a href="http://www.xnetcore.com/downloads/powerdns/srpms/pdns-2.9.22-1.i386.src.rpm">pdns-2.9.22-1.i386.src.rpm</a><a href="http://www.xnetcore.com/downloads/powerdns/srpms/pdns-2.9.22-1.i386.src.rpm"></a></p>
<p><a href="http://www.xnetcore.com/downloads/powerdns/rpms/pdns-2.9.22-1.i386.rpm">pdns-2.9.22-1.i386.rpm</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.coretanium.net/powerdns-2922-rpm%e2%80%99s/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>PowerDNS 2.9.21-2 RPM&#039;s</title>
		<link>http://www.coretanium.net/powerdns-2921-2-rpms</link>
		<comments>http://www.coretanium.net/powerdns-2921-2-rpms#comments</comments>
		<pubDate>Sat, 17 Jan 2009 03:13:16 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[PowerDNS]]></category>

		<guid isPermaLink="false">http://www.xnetcore.com/powerdns-2921-2-rpm/</guid>
		<description><![CDATA[The latest (dynamic) RPM&#8217;s for PowerDNS can be downloaded below. Please note, these RPM&#8217;s only include the MySQL and pipe backend! &#160; pdns-2.9.21-2.x86_64.src.rpm pdns-2.9.21-2.i386.src.rpm pdns-2.9.21-2.x86_64.rpm pdns-2.9.21-2.i386.rpm &#160; Or you can download the GPL source tarball which includes the spec files for both x86_64 and i386 &#160; pdns-2.9.21-2.tar.gz]]></description>
			<content:encoded><![CDATA[<p>The latest (dynamic) RPM&rsquo;s for PowerDNS can be downloaded below. Please note, these RPM&rsquo;s only include the MySQL and pipe backend!</p>
<p>&nbsp;</p>
<p><a href="http://www.xnetcore.com/downloads/powerdns/srpms/pdns-2.9.21-2.x86_64.src.rpm">pdns-2.9.21-2.x86_64.src.rpm</a><a href="http://www.xnetcore.com/downloads/powerdns/srpms/pdns-2.9.21-2.x86_64.src.rpm"></a></p>
<p><a href="http://www.xnetcore.com/downloads/powerdns/srpms/pdns-2.9.21-2.i386.src.rpm">pdns-2.9.21-2.i386.src.rpm</a><a href="http://www.xnetcore.com/downloads/pdns-2.9.21-2.i386.src.rpm"></a></p>
<p><a href="http://www.xnetcore.com/downloads/powerdns/rpms/pdns-2.9.21-2.x86_64.rpm">pdns-2.9.21-2.x86_64.rpm</a><a href="http://www.xnetcore.com/downloads/powerdns/rpms/pdns-2.9.21-2.x86_64.rpm"></a></p>
<p><a href="http://www.xnetcore.com/downloads/powerdns/rpms/pdns-2.9.21-2.i386.rpm">pdns-2.9.21-2.i386.rpm</a><a href="http://www.xnetcore.com/downloads/powerdns/rpms/pdns-2.9.21-2.i386.rpm"></a></p>
<p>&nbsp;</p>
<p>Or you can download the GPL source tarball which includes the spec files for both x86_64 and i386</p>
<p>&nbsp;</p>
<p><a href="http://www.xnetcore.com/downloads/powerdns/pdns-2.9.21-2.tar.gz">pdns-2.9.21-2.tar.gz</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.coretanium.net/powerdns-2921-2-rpms/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>PowerDNS with Geo Backend</title>
		<link>http://www.coretanium.net/powerdns-with-geo-backend</link>
		<comments>http://www.coretanium.net/powerdns-with-geo-backend#comments</comments>
		<pubDate>Sat, 06 Dec 2008 19:26:01 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[PowerDNS]]></category>

		<guid isPermaLink="false">http://blog.coretanium.net/?p=90</guid>
		<description><![CDATA[A short guide on how to setup powerdns with the geo and mysql backends to redirect visitors to servers closer to their geographic location. So how does it work? We delegate geo.www.domain.com to our powerdns servers that run the geo backend. The backend looks up the IP address of the user&#8217;s resolver in a data [...]]]></description>
			<content:encoded><![CDATA[<p>A short guide on how to setup powerdns with the geo and mysql backends to redirect visitors to servers closer to their geographic location.</p>
<p>So how does it work?</p>
<p>We delegate geo.www.domain.com to our powerdns servers that run the geo backend. The backend looks up the IP address of the user&#8217;s resolver in a data structure obtained from zz.countries.nerd.dk.</p>
<p>This returns the ISO country code, which is then fed through a map file to determine what CNAME to respond with. Our www.domain.com record is actually just a CNAME to www.geo.domain.com which is driven by the geo backend. Our map contains the following:</p>
<p>$RECORD www<br />
$ORIGIN domain.com</p>
<p>After the above each ISO country code is listed and essentially where you want to send them, for example:</p>
<p>0 pool<br />
# Andorra<br />
20 eu<br />
# United Arab Emirates<br />
784 eu<br />
# Afghanistan<br />
4 eu<br />
# Antigua and Barbuda<br />
28 eu<br />
# Angola<br />
24 za</p>
<p>0 pool is a round robin DNS pool of all our servers located across the globe.</p>
<p>The rest, as you can see, is redirected to either eu or za. Note, the file is HUGE and only a few entries has been pasted here.</p>
<p>Our powerdns configuration looks like this:</p>
<pre lang="shell">geo-zone=geo.domain.com
geo-soa-values=ns0.domain.com,hostmaster@domain.com
geo-ns-records=ns0.domain.com,ns1.domain.com
geo-ip-map-zonefile=/home/geo/zz.countries.nerd.dk.rbldnsd
geo-maps=/etc/powerdns/geo-maps
launch=geo,gmysql</pre>
<p>The zz.countries.nerd.dk.rbldnsd file countains all countries and their ISO country numbers. More information and how to get a copy of this (rsync once a week) can be obtained from http://countries.nerd.dk/more.html.</p>
<p>Our normal DNS domains and records are stored in MySQL, more information regarding that can be found in the powerdns documentation.</p>
<p>Here are some DNS query examples:</p>
<p>dig @ns0.coretanium.net nosuchdomainhere.com A</p>
<p>;www.nosuchdomainhere.com.      IN      A</p>
<p>www.nosuchdomainhere.com. 604800 IN     CNAME   www.geo.nosuchdomainhere.com.<br />
www.geo.nosuchdomainhere.com. 3600 IN   CNAME   eu.nosuchdomainhere.com.<br />
eu.nosuchdomainhere.com. 86400  IN      A       87.194.37.132</p>
<p>As you can see, www.nosuchdomainhere.com is a CNAME to www.geo.nosuchdomainhere.com, from there it passes through the geo backend and it says your coming from lets say Germany, our geo mapping file then says country code 276 needs to go to eu(.nosuchdomainhere.com) and eu.nosuchdomainhere.com resolves to 127.0.0.1.</p>
<p>And that&#8217;s it. A brief explanation on how to use powerdns with the geo backend.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.coretanium.net/powerdns-with-geo-backend/feed</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>

