Package: pdnsd / 1.2.8-par-3

04_ipv6_localhost.patch Patch series | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
Description: Adding ipv6 in localhost
Author: Mahyuddin Susanto <udienz@gmail.com>
Bug-Debian: http://bugs.debian.org/466332
Bug-Debian: http://bugs.debian.org/504211

--- pdnsd-1.2.8-par.orig/doc/pdnsd.conf.in
+++ pdnsd-1.2.8-par/doc/pdnsd.conf.in
@@ -4,11 +4,12 @@
 // Remove '/*' and '*/' to enable complete sections.
 
 global {
-	perm_cache=1024;
+	perm_cache=2048;
 	cache_dir="@cachedir@";
 #	pid_file = /var/run/pdnsd.pid;
 	run_as="@def_id@";
-	server_ip = 127.0.0.1;  # Use eth0 here if you want to allow other
+	server_ip = 127.0.0.1,
+				0:0:0:0:0:0:0:1;  # Use eth0 here if you want to allow other
 				# machines on your network to query pdnsd.
 	status_ctl = on;
 #	paranoid=on;       # This option reduces the chance of cache poisoning
@@ -62,7 +63,8 @@ server {
 # If you do not like this behaviour the "reject" option may be useful.
 server {
 	label = "opendns";
-	ip = 208.67.222.222, 208.67.220.220;
+	ip = 208.67.222.222,
+	     208.67.220.220;
 	reject = 208.69.32.0/24,  # You may need to add additional address ranges
 	         208.69.34.0/24,  # here if the addresses of their search engines
 	         208.67.219.0/24; # change.
@@ -111,7 +113,8 @@ include {file="/etc/pdnsd.include";}	# R
 rr {
 	name=localhost;
 	reverse=on;
-	a=127.0.0.1;
+	a=127.0.0.1,
+	0:0:0:0:0:0:0:1;
 	owner=localhost;
 	soa=localhost,root.localhost,42,86400,900,86400,86400;
 }