<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
		<id>https://wiki.leaky.org/index.php?action=history&amp;feed=atom&amp;title=PowerDNS</id>
		<title>PowerDNS - Revision history</title>
		<link rel="self" type="application/atom+xml" href="https://wiki.leaky.org/index.php?action=history&amp;feed=atom&amp;title=PowerDNS"/>
		<link rel="alternate" type="text/html" href="https://wiki.leaky.org/index.php?title=PowerDNS&amp;action=history"/>
		<updated>2026-04-13T09:54:16Z</updated>
		<subtitle>Revision history for this page on the wiki</subtitle>
		<generator>MediaWiki 1.30.0</generator>

	<entry>
		<id>https://wiki.leaky.org/index.php?title=PowerDNS&amp;diff=405&amp;oldid=prev</id>
		<title>Leaky at 15:29, 6 April 2022</title>
		<link rel="alternate" type="text/html" href="https://wiki.leaky.org/index.php?title=PowerDNS&amp;diff=405&amp;oldid=prev"/>
				<updated>2022-04-06T15:29:12Z</updated>
		
		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;table class=&quot;diff diff-contentalign-left&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr style=&quot;vertical-align: top;&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: white; color:black; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: white; color:black; text-align: center;&quot;&gt;Revision as of 15:29, 6 April 2022&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l28&quot; &gt;Line 28:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 28:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;#160; systemctl restart pdns&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;#160; systemctl restart pdns&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;Set it to start automatically&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt; systemctl enable pdns&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Assuming it comes up ok, you can add slave zones with the following command:&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Assuming it comes up ok, you can add slave zones with the following command:&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;#160; pdnsutil create-slave-zone bocks.com 78.129.196.11&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;#160; pdnsutil create-slave-zone bocks.com 78.129.196.11&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Leaky</name></author>	</entry>

	<entry>
		<id>https://wiki.leaky.org/index.php?title=PowerDNS&amp;diff=402&amp;oldid=prev</id>
		<title>Leaky: Created page with &quot; On Debian, install the relevant packages. At time of writing, this is version 4.1.6   apt-get install pdns-server pdns-backend-sqlite3  apt-get install sqlite3  apt-get remov...&quot;</title>
		<link rel="alternate" type="text/html" href="https://wiki.leaky.org/index.php?title=PowerDNS&amp;diff=402&amp;oldid=prev"/>
				<updated>2021-09-17T21:55:50Z</updated>
		
		<summary type="html">&lt;p&gt;Created page with &amp;quot; On Debian, install the relevant packages. At time of writing, this is version 4.1.6   apt-get install pdns-server pdns-backend-sqlite3  apt-get install sqlite3  apt-get remov...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;&lt;br /&gt;
On Debian, install the relevant packages. At time of writing, this is version 4.1.6&lt;br /&gt;
&lt;br /&gt;
 apt-get install pdns-server pdns-backend-sqlite3&lt;br /&gt;
 apt-get install sqlite3&lt;br /&gt;
 apt-get remove pdns-backend-bind&lt;br /&gt;
&lt;br /&gt;
Remove the bind backend config (as of 4.1.6 it doesn't support slave configs managed through pdnsutil) and create one for SQLite3.&lt;br /&gt;
&lt;br /&gt;
 rm /etc/powerdns/pdns.d/bind.conf&lt;br /&gt;
 cat &amp;gt;&amp;gt; /etc/powerdns/pdns.d/sqlite3.conf &amp;lt;&amp;lt;EOF&lt;br /&gt;
 launch += gsqlite3&lt;br /&gt;
 gsqlite3-database=/var/lib/powerdns/powerdns.sqlite3&lt;br /&gt;
 EOF&lt;br /&gt;
&lt;br /&gt;
Update the main config to enable slave mode:&lt;br /&gt;
&lt;br /&gt;
 (UNTESTED) perl -spi -le 's/^# slave=yes/slave=yes/' /etc/powerdns/pdns.conf&lt;br /&gt;
&lt;br /&gt;
Make sure there's a line uncommented saying &amp;quot;slave=yes&amp;quot;&lt;br /&gt;
&lt;br /&gt;
Create the SQLite3 database and fix permissions&lt;br /&gt;
&lt;br /&gt;
 sqlite3 /var/lib/powerdns/powerdns.sqlite3 &amp;lt; /usr/share/pdns-backend-sqlite3/schema/schema.sqlite3.sql&lt;br /&gt;
 chown pdns: /var/lib/powerdns /var/lib/powerdns/powerdns.sqlite3&lt;br /&gt;
&lt;br /&gt;
Restart the service&lt;br /&gt;
&lt;br /&gt;
 systemctl restart pdns&lt;br /&gt;
&lt;br /&gt;
Assuming it comes up ok, you can add slave zones with the following command:&lt;br /&gt;
&lt;br /&gt;
 pdnsutil create-slave-zone bocks.com 78.129.196.11&lt;/div&gt;</summary>
		<author><name>Leaky</name></author>	</entry>

	</feed>