From 018669bb72c0fa3a51953f856380405eb3e81926 Mon Sep 17 00:00:00 2001 From: Frank Brehm Date: Tue, 5 Feb 2013 10:02:45 +0100 Subject: [PATCH] Current state --- powerdns/recursor.conf | 24 ++++++++++++++++++++++++ resolv.conf | 7 +++---- 2 files changed, 27 insertions(+), 4 deletions(-) create mode 100644 powerdns/recursor.conf diff --git a/powerdns/recursor.conf b/powerdns/recursor.conf new file mode 100644 index 00000000..5c69bce5 --- /dev/null +++ b/powerdns/recursor.conf @@ -0,0 +1,24 @@ +# Copyright 1999-2006 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/net-dns/pdns-recursor/files/recursor.conf,v 1.2 2007/06/08 22:28:14 swegener Exp $ + +# Drop uid +setuid=nobody + +# Drop gid +setgid=nobody + +# Don't log queries +quiet=on + +# Local IP address to bind to +#local-address=127.0.0.1 +local-address=0.0.0.0,:: + +# Local port to bind to +local-port=53 + +# Change root for safety +chroot=/var/lib/powerdns + +allow-from=127.0.0.0/8, 10.0.0.0/8, 192.168.0.0/16, 172.16.0.0/12, ::1/128, fe80::/10, 2001:6f8:1db7::1/64, 2001:6f8:1c00:365::2/64, 2a01:238:4225:6e00:8f8c:808a:7fb8:88df diff --git a/resolv.conf b/resolv.conf index 2fa15003..8eaeb8c0 100644 --- a/resolv.conf +++ b/resolv.conf @@ -1,6 +1,5 @@ -# Hand made by Frank Brehm +# Generated by net-scripts for interface eth0 domain brehm-online.com -search brehm-online.com hennig-berlin.org uhu-banane.de profitbricks.localdomain dc1.de.profitbricks.net dc2.us.profitbricks.net pb.local +search home.brehm-online.com home.hennig-berlin.org brehm-online.com hennig-berlin.org uhu-banane.de #nameserver 10.12.11.1 -nameserver 192.168.178.30 -nameserver 192.168.178.89 +nameserver 8.8.8.8 -- 2.39.5