From: Stefan Schantl Date: Fri, 26 Oct 2012 14:11:52 +0000 (+0200) Subject: pdns: Don't overwrite database file on update. X-Git-Url: http://git.ipfire.org/?p=people%2Famarx%2Fipfire-3.x.git;a=commitdiff_plain;h=e8e9e8e7c3a0df0915aec6d3a40f7fbea59927c3 pdns: Don't overwrite database file on update. --- diff --git a/pdns/pdns.conf b/pdns/pdns.conf index 0630ed543..7c43c0aba 100644 --- a/pdns/pdns.conf +++ b/pdns/pdns.conf @@ -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 diff --git a/pdns/pdns.nm b/pdns/pdns.nm index 35f5697df..5c01ec1ca 100644 --- a/pdns/pdns.nm +++ b/pdns/pdns.nm @@ -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