]> git.ipfire.org Git - people/amarx/ipfire-3.x.git/blobdiff - pdns/pdns.conf
Sanitize pdns and pdns-recursor package.
[people/amarx/ipfire-3.x.git] / pdns / pdns.conf
index 82b67c1aea464b593983452e9cf3e251073aee26..0630ed543aa4b82a2b36e0f9e0568795e3a1fe97 100644 (file)
@@ -1,30 +1,14 @@
 ###############################################################################
-##                                                                             #
-## IPFire.org - A linux based firewall                                         #
-## Copyright (C) 2012  IPFire Development Team                                 #
-##                                                                             #
-## This program is free software: you can redistribute it and/or modify        #
-## it under the terms of the GNU General Public License as published by        #
-## the Free Software Foundation, either version 3 of the License, or           #
-## (at your option) any later version.                                         #
-##                                                                             #
-## This program is distributed in the hope that it will be useful,             #
-## but WITHOUT ANY WARRANTY; without even the implied warranty of              #
-## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the               #
-## GNU General Public License for more details.                                #
-##                                                                             #
-## You should have received a copy of the GNU General Public License           #
-## along with this program.  If not, see <http://www.gnu.org/licenses/>.       #
-##                                                                             #
-################################################################################
-#
-## These file contains the default configuration for the PowerDNS service.
-#
-# An example configuration file with all provided options can be found on 
-# /etc/pdns/pdns.conf-dist.
-#
-daemon=no
-socket-dir=/run/pdns/
+# IPFire.org    - An Open Source Firewall Solution                            #
+# Copyright (C) - IPFire Development Team <info@ipfire.org>                   #
+###############################################################################
+# This file contains the default configuration for the PowerDNS service.
+socket-dir=/run/pdns
+
+# Listing settings.
+# XXX IPv6 listen on :: cannot be created. Says Address is already in use.
+local-address=0.0.0.0
+local-ipv6=::1
 
 # Run powerdns as the following user and group.
 setuid=pdns
@@ -35,5 +19,6 @@ launch=gsqlite3
 #launch=gsqlite3-dnssec
 gsqlite3-database=/var/lib/pdns/pdns.db
 
-# Enable if you also have installed the pdns-recursor.
-#recursor=127.0.0.1:54
+# All queries that could not be answered by ourself get sent to
+# the local recursor.
+recursor=[::1]:54