]> git.ipfire.org Git - people/amarx/ipfire-3.x.git/commitdiff
pdns: Don't overwrite database file on update.
authorStefan Schantl <stefan.schantl@ipfire.org>
Fri, 26 Oct 2012 14:11:52 +0000 (16:11 +0200)
committerStefan Schantl <stefan.schantl@ipfire.org>
Fri, 26 Oct 2012 14:11:52 +0000 (16:11 +0200)
pdns/pdns.conf
pdns/pdns.nm

index 0630ed543aa4b82a2b36e0f9e0568795e3a1fe97..7c43c0abafd85f45e1e76a86a539fdb6ea03f834 100644 (file)
@@ -22,3 +22,4 @@ gsqlite3-database=/var/lib/pdns/pdns.db
 # All queries that could not be answered by ourself get sent to
 # the local recursor.
 recursor=[::1]:54
+allow-recursion=127.0.0.1 ::1
index 35f5697df3926729b1709db869f57c615bcda9d1..5c01ec1ca9620088d887c84f369f607bd94ac9a9 100644 (file)
@@ -5,7 +5,7 @@
 
 name       = pdns
 version    = 3.1
-release    = 4
+release    = 5
 
 groups     = Networking/DNS
 url        = http://powerdns.com/
@@ -111,6 +111,10 @@ packages
                        %{sysconfdir}/pdns/pdns.conf
                end
 
+               datafiles
+                       %{sharedstatedir}/pdns/pdns.db
+               end
+
                script prein
                        %{create_user}
                end