View | Details | Raw Unified | Return to bug 194057 | Differences between
and this patch

Collapse All | Expand All

(-)./Makefile (-8 / +8 lines)
Lines 1-11 Link Here
1
# $FreeBSD: head/dns/powerdns/Makefile 365753 2014-08-23 16:23:12Z marino $
1
# $FreeBSD: head/dns/powerdns/Makefile 365753 2014-08-23 16:23:12Z marino $
2
2
3
PORTNAME=	powerdns
3
PORTNAME=	powerdns
4
PORTVERSION=	3.3.1
4
PORTVERSION=	3.4.0
5
PORTREVISION=	5
5
PORTREVISION=	6
6
CATEGORIES=	dns ipv6
6
CATEGORIES=	dns ipv6
7
MASTER_SITES=	http://downloads.powerdns.com/releases/
7
MASTER_SITES=	http://downloads.powerdns.com/releases/
8
DISTNAME=	pdns-${PORTVERSION}
8
DISTNAME=	pdns-${PORTVERSION}
9
EXTRACT_SUFX= .tar.bz2
9
10
10
MAINTAINER=	tremere@cainites.net
11
MAINTAINER=	tremere@cainites.net
11
COMMENT=	Advanced DNS server with multiple backends including SQL
12
COMMENT=	Advanced DNS server with multiple backends including SQL
Lines 38-47 Link Here
38
USE_RC_SUBR=	pdns
39
USE_RC_SUBR=	pdns
39
40
40
OPTIONS_DEFINE=	GEO MYSQL MYSQL_LOCAL OPENDBX OPENLDAP OPENLDAP_LOCAL \
41
OPTIONS_DEFINE=	GEO MYSQL MYSQL_LOCAL OPENDBX OPENLDAP OPENLDAP_LOCAL \
41
		PGSQL PGSQL_LOCAL POLARSSL SQLITE3 TOOLS
42
		PGSQL PGSQL_LOCAL POLARSSL REMOTE REMOTE_HTTP SQLITE3 TOOLS
42
OPTIONS_GROUP=	DNSSEC EXPERIMENTAL
43
OPTIONS_GROUP=	DNSSEC EXPERIMENTAL
43
OPTIONS_GROUP_DNSSEC=	BOTAN110 CRYPTOPP
44
OPTIONS_GROUP_DNSSEC=	BOTAN110 CRYPTOPP
44
OPTIONS_GROUP_EXPERIMENTAL=	LUA MYDNS REMOTE REMOTE_HTTP TINYDNS
45
OPTIONS_GROUP_EXPERIMENTAL=	LUA MYDNS TINYDNS
45
46
46
PGSQL_DESC=		PostgreSQL backend
47
PGSQL_DESC=		PostgreSQL backend
47
PGSQL_LOCAL_DESC=	RUN_DEPEND on PostgreSQL server
48
PGSQL_LOCAL_DESC=	RUN_DEPEND on PostgreSQL server
Lines 55-61 Link Here
55
DNSSEC_DESC=		Extra DNSSEC options
56
DNSSEC_DESC=		Extra DNSSEC options
56
BOTAN110_DESC=		Faster signing + ECDSA & GOST algorithms
57
BOTAN110_DESC=		Faster signing + ECDSA & GOST algorithms
57
CRYPTOPP_DESC=		ECDSA algorithms
58
CRYPTOPP_DESC=		ECDSA algorithms
58
POLARSSL_DESC=		Use embedded PolarSSL
59
POLARSSL_DESC=		Use system PolarSSL
59
LUA_DESC=		Lua backend
60
LUA_DESC=		Lua backend
60
MYDNS_DESC=		MyDNS backend
61
MYDNS_DESC=		MyDNS backend
61
REMOTE_DESC=		Remote backend
62
REMOTE_DESC=		Remote backend
Lines 63-69 Link Here
63
TINYDNS_DESC=		TinyDNS backend
64
TINYDNS_DESC=		TinyDNS backend
64
TOOLS_DESC=		Build extra tools
65
TOOLS_DESC=		Build extra tools
65
66
66
OPTIONS_DEFAULT=	PGSQL DNSSEC BOTAN110 POLARSSL
67
OPTIONS_DEFAULT=	PGSQL DNSSEC BOTAN110
67
68
68
OPTIONS_SUB=	yes
69
OPTIONS_SUB=	yes
69
70
Lines 174-181 Link Here
174
.endif
175
.endif
175
176
176
.if ${PORT_OPTIONS:MPOLARSSL}
177
.if ${PORT_OPTIONS:MPOLARSSL}
177
CONFIGURE_ARGS+=	--without-system-polarssl
178
CONFIGURE_ARGS+=	--with-system-polarssl
178
.else
179
LIB_DEPENDS+=		libpolarssl.so:${PORTSDIR}/security/polarssl
179
LIB_DEPENDS+=		libpolarssl.so:${PORTSDIR}/security/polarssl
180
.endif
180
.endif
181
181
(-)./distinfo (-2 / +2 lines)
Lines 1-2 Link Here
1
SHA256 (pdns-3.3.1.tar.gz) = feb566994725e049391e9b862c9437ca545f1bb970143d2387e474a6ff645bf3
1
SHA256 (pdns-3.4.0.tar.bz2) = 0780f7a7fe768f9debc9decadb5d3a555b716eed14296e7c41f355bf8db4825e
2
SIZE (pdns-3.3.1.tar.gz) = 1403435
2
SIZE (pdns-3.4.0.tar.bz2) = 1234318
(-)./files/patch-pdns__Makefile.in (-49 lines)
Lines 1-49 Link Here
1
--- ./pdns/Makefile.in.orig	2013-12-17 14:47:45.000000000 +0100
2
+++ ./pdns/Makefile.in	2014-01-16 13:37:09.328942976 +0100
3
@@ -66,7 +66,7 @@
4
 	nproxy$(EXEEXT) notify$(EXEEXT) pdnssec$(EXEEXT) \
5
 	dnsbulktest$(EXEEXT) nsec3dig$(EXEEXT)
6
 @BOTAN110_TRUE@am__append_4 = botan110signers.cc botansigners.cc
7
-@BOTAN110_TRUE@am__append_5 = $(BOTAN110_LIBS) -lgmp -lrt
8
+@BOTAN110_TRUE@am__append_5 = $(BOTAN110_LIBS)
9
 @BOTAN18_TRUE@am__append_6 = botan18signers.cc botansigners.cc
10
 @BOTAN18_TRUE@am__append_7 = $(BOTAN18_LIBS) -lgmp
11
 @CRYPTOPP_TRUE@am__append_8 = cryptoppsigners.cc
12
@@ -74,7 +74,7 @@
13
 @SQLITE3_TRUE@am__append_10 = ssqlite3.cc ssqlite3.hh
14
 @ORACLE_TRUE@am__append_11 = $(ORACLE_LIBS)
15
 @BOTAN110_TRUE@am__append_12 = botan110signers.cc botansigners.cc
16
-@BOTAN110_TRUE@am__append_13 = $(BOTAN110_LIBS) -lgmp -lrt
17
+@BOTAN110_TRUE@am__append_13 = $(BOTAN110_LIBS)
18
 @BOTAN18_TRUE@am__append_14 = botan18signers.cc botansigners.cc
19
 @BOTAN18_TRUE@am__append_15 = $(BOTAN18_LIBS) -lgmp
20
 @CRYPTOPP_TRUE@am__append_16 = cryptoppsigners.cc
21
@@ -750,8 +750,8 @@
22
 top_builddir = @top_builddir@
23
 top_srcdir = @top_srcdir@
24
 AM_CXXFLAGS = -DSYSCONFDIR=\"@sysconfdir@\" -DLIBDIR=\"@libdir@\" -DLOCALSTATEDIR=\"@socketdir@\" -Ibackends/bind @THREADFLAGS@ $(LUA_CFLAGS) $(SQLITE3_CFLAGS) $(POLARSSL_CFLAGS) -Iext/rapidjson/include
25
-AM_CPPFLAGS = -Ibackends/bind $(BOOST_CPPFLAGS) @THREADFLAGS@ \
26
-	$(LIBCURL_CFLAGS) $(am__append_1) $(am__append_2)
27
+AM_CPPFLAGS = -Ibackends/bind @THREADFLAGS@ \
28
+	$(am__append_1) $(am__append_2) $(BOOST_CPPFLAGS)
29
 EXTRA_DIST = dnslabeltext.rl dnslabeltext.cc mtasker.cc inflighter.cc docs/pdns_control.8  \
30
 	docs/pdns_server.8 docs/zone2sql.8 docs/zone2ldap.8 docs/pdnssec.8 \
31
 	docs/dnsreplay.8 docs/dnsscope.8 docs/dnswasher.8 docs/pdnssec.8 docs/zone2ldap.8 \
32
@@ -797,7 +797,7 @@
33
 #
34
 pdns_server_LDFLAGS = @moduleobjects@ @modulelibs@ @DYNLINKFLAGS@ @LIBDL@ @THREADFLAGS@  $(BOOST_SERIALIZATION_LDFLAGS) -rdynamic
35
 pdns_server_LDADD = $(POLARSSL_LIBS) $(BOOST_SERIALIZATION_LIBS) \
36
-	$(LUA_LIBS) $(SQLITE3_LIBS) $(LIBCURL_LIBS) $(am__append_5) \
37
+	$(LUA_LIBS) $(SQLITE3_LIBS) $(am__append_5) \
38
 	$(am__append_7) $(am__append_9) $(am__append_11)
39
 pdnssec_SOURCES = pdnssec.cc dbdnsseckeeper.cc sstuff.hh dnsparser.cc \
40
 	dnsparser.hh dnsrecords.cc dnswriter.cc dnswriter.hh misc.cc \
41
@@ -819,7 +819,7 @@
42
 	$(am__append_18)
43
 pdnssec_LDFLAGS = @moduleobjects@ @modulelibs@ @DYNLINKFLAGS@ @LIBDL@ @THREADFLAGS@ $(BOOST_PROGRAM_OPTIONS_LDFLAGS) $(BOOST_SERIALIZATION_LDFLAGS) 
44
 pdnssec_LDADD = $(POLARSSL_LIBS) $(BOOST_PROGRAM_OPTIONS_LIBS) \
45
-	$(BOOST_SERIALIZATION_LIBS) $(SQLITE3_LIBS) $(LIBCURL_LIBS) \
46
+	$(BOOST_SERIALIZATION_LIBS) $(SQLITE3_LIBS) \
47
 	$(am__append_13) $(am__append_15) $(am__append_17) \
48
 	$(am__append_19)
49
 sdig_SOURCES = sdig.cc sstuff.hh dnsparser.cc dnsparser.hh dnsrecords.cc dnswriter.cc dnslabeltext.cc dnswriter.hh \
(-)./files/pdns.conf (-116 / +159 lines)
Lines 1-50 Link Here
1
# MySQL
2
#launch=gmysql
3
#gmysql-host=127.0.0.1
4
#gmysql-dbname=pdns
5
#gmysql-user=pdns
6
#gmysql-password=pdns
7
8
# PostgreSQL
9
#launch=gpgsql
10
#gpgsql-host=127.0.0.1
11
#gpgsql-dbname=pdns
12
#gpgsql-user=pdns
13
#gpgsql-password=pdns
14
15
# SQLite 2
16
#launch=gsqlite
17
#gsqlite-database=<path to your SQLite database>
18
19
# SQLite 3
20
#launch=gsqlite3
21
#gsqlite3-database=<path to your SQLite database>
22
23
# LDAP (check http://www.linuxnetworks.de for more information)
24
#launch=ldap
25
#ldap-host (default "127.0.0.1:389")
26
#ldap-starttls (default "no")
27
#ldap-basedn (default "")
28
#ldap-binddn (default "")
29
#ldap-secret (default "")
30
#ldap-method (default "simple")
31
#ldap-filter-axfr (default "(:target:)" )
32
#ldap-filter-lookup (default "(:target:)" )
33
34
# OpenDBX (check http://www.linuxnetworks.de for more information)
35
#launch=opendbx
36
#opendbx-backend (default "mysql")
37
#opendbx-host-read (default "127.0.0.1")
38
#opendbx-host-write (default "127.0.0.1")
39
#opendbx-database (default "powerdns")
40
#opendbx-username (default "powerdns")
41
#opendbx-password (default "")
42
43
# Autogenerated configuration file template
1
# Autogenerated configuration file template
44
#################################
2
#################################
45
# allow-axfr-ips	Allow zonetransfers only to these subnets
3
# allow-axfr-ips	Allow zonetransfers only to these subnets
46
#
4
#
47
# allow-axfr-ips=0.0.0.0/0,::/0
5
# allow-axfr-ips=127.0.0.0/8,::1
6
7
#################################
8
# allow-dnsupdate-from	A global setting to allow DNS updates from these IP ranges.
9
#
10
# allow-dnsupdate-from=127.0.0.0/8,::1
48
11
49
#################################
12
#################################
50
# allow-recursion	List of subnets that are allowed to recurse
13
# allow-recursion	List of subnets that are allowed to recurse
Lines 52-60 Link Here
52
# allow-recursion=0.0.0.0/0
15
# allow-recursion=0.0.0.0/0
53
16
54
#################################
17
#################################
55
# allow-recursion-override	Set this so that local data fully overrides the recursor
18
# also-notify	When notifying a domain, also notify these nameservers
56
#
19
#
57
# allow-recursion-override=no
20
# also-notify=
21
22
#################################
23
# any-to-tcp	Answer ANY queries with tc=1, shunting to TCP
24
#
25
# any-to-tcp=no
58
26
59
#################################
27
#################################
60
# cache-ttl	Seconds to store packets in the PacketCache
28
# cache-ttl	Seconds to store packets in the PacketCache
Lines 62-67 Link Here
62
# cache-ttl=20
30
# cache-ttl=20
63
31
64
#################################
32
#################################
33
# carbon-interval	Number of seconds between carbon (graphite) updates
34
#
35
# carbon-interval=30
36
37
#################################
38
# carbon-ourname	If set, overrides our reported hostname for carbon stats
39
#
40
# carbon-ourname=
41
42
#################################
43
# carbon-server	If set, send metrics in carbon (graphite) format to this server
44
#
45
# carbon-server=
46
47
#################################
65
# chroot	If set, chroot to this directory for more security
48
# chroot	If set, chroot to this directory for more security
66
#
49
#
67
# chroot=
50
# chroot=
Lines 69-75 Link Here
69
#################################
52
#################################
70
# config-dir	Location of configuration directory (pdns.conf)
53
# config-dir	Location of configuration directory (pdns.conf)
71
#
54
#
72
# config-dir=/usr/local/etc/pdns
55
# config-dir=/usr/local/etc
73
56
74
#################################
57
#################################
75
# config-name	Name of this virtual configuration - will rename the binary image
58
# config-name	Name of this virtual configuration - will rename the binary image
Lines 87-92 Link Here
87
# daemon=no
70
# daemon=no
88
71
89
#################################
72
#################################
73
# default-ksk-algorithms	Default KSK algorithms
74
#
75
# default-ksk-algorithms=rsasha256
76
77
#################################
78
# default-ksk-size	Default KSK size (0 means default)
79
#
80
# default-ksk-size=0
81
82
#################################
83
# default-soa-mail	mail address to insert in the SOA record if none set in the backend
84
#
85
# default-soa-mail=
86
87
#################################
90
# default-soa-name	name to insert in the SOA record if none set in the backend
88
# default-soa-name	name to insert in the SOA record if none set in the backend
91
#
89
#
92
# default-soa-name=a.misconfigured.powerdns.server
90
# default-soa-name=a.misconfigured.powerdns.server
Lines 97-107 Link Here
97
# default-ttl=3600
95
# default-ttl=3600
98
96
99
#################################
97
#################################
98
# default-zsk-algorithms	Default ZSK algorithms
99
#
100
# default-zsk-algorithms=rsasha256
101
102
#################################
103
# default-zsk-size	Default ZSK size (0 means default)
104
#
105
# default-zsk-size=0
106
107
#################################
108
# direct-dnskey	Fetch DNSKEY RRs from backend during DNSKEY synthesis
109
#
110
# direct-dnskey=no
111
112
#################################
100
# disable-axfr	Disable zonetransfers but do allow TCP queries
113
# disable-axfr	Disable zonetransfers but do allow TCP queries
101
#
114
#
102
# disable-axfr=no
115
# disable-axfr=no
103
116
104
#################################
117
#################################
118
# disable-axfr-rectify	Disable the rectify step during an outgoing AXFR. Only required for regression testing.
119
#
120
# disable-axfr-rectify=no
121
122
#################################
105
# disable-tcp	Do not listen to TCP queries
123
# disable-tcp	Do not listen to TCP queries
106
#
124
#
107
# disable-tcp=no
125
# disable-tcp=no
Lines 114-125 Link Here
114
#################################
132
#################################
115
# do-ipv6-additional-processing	Do AAAA additional processing
133
# do-ipv6-additional-processing	Do AAAA additional processing
116
#
134
#
117
# do-ipv6-additional-processing=no
135
# do-ipv6-additional-processing=yes
118
119
#################################
120
# edns-subnet-option-number	EDNS option number to use
121
#
122
# edns-subnet-option-number=20730
123
136
124
#################################
137
#################################
125
# edns-subnet-processing	If we should act on EDNS Subnet options
138
# edns-subnet-processing	If we should act on EDNS Subnet options
Lines 132-140 Link Here
132
# entropy-source=/dev/urandom
145
# entropy-source=/dev/urandom
133
146
134
#################################
147
#################################
135
# fancy-records	Process URL and MBOXFW records
148
# experimental-api-readonly	If the JSON API should disallow data modification
136
#
149
#
137
# fancy-records=no
150
# experimental-api-readonly=no
151
152
#################################
153
# experimental-dname-processing	If we should support DNAME records
154
#
155
# experimental-dname-processing=no
156
157
#################################
158
# experimental-dnsupdate	Enable/Disable DNS update (RFC2136) support. Default is no.
159
#
160
# experimental-dnsupdate=no
161
162
#################################
163
# experimental-json-interface	If the webserver should serve JSON data
164
#
165
# experimental-json-interface=no
166
167
#################################
168
# experimental-logfile	Filename of the log file for JSON parser
169
#
170
# experimental-logfile=/var/log/pdns.log
171
172
#################################
173
# forward-dnsupdate	A global setting to allow DNS update packages that are for a Slave domain, to be forwarded to the master.
174
#
175
# forward-dnsupdate=yes
138
176
139
#################################
177
#################################
140
# guardian	Run within a guardian process
178
# guardian	Run within a guardian process
Lines 142-155 Link Here
142
# guardian=no
180
# guardian=no
143
181
144
#################################
182
#################################
145
# launch	Which backends to launch and order to query them in
183
# include-dir	Include *.conf files from this directory
146
#
184
#
147
# launch=
185
# include-dir=
148
186
149
#################################
187
#################################
150
# lazy-recursion	Only recurse if question cannot be answered locally
188
# launch	Which backends to launch and order to query them in
151
#
189
#
152
# lazy-recursion=yes
190
# launch=
153
191
154
#################################
192
#################################
155
# load-modules	Load this module - supply absolute or relative path
193
# load-modules	Load this module - supply absolute or relative path
Lines 162-172 Link Here
162
# local-address=0.0.0.0
200
# local-address=0.0.0.0
163
201
164
#################################
202
#################################
203
# local-address-nonexist-fail	Fail to start if one or more of the local-address's do not exist on this server
204
#
205
# local-address-nonexist-fail=yes
206
207
#################################
165
# local-ipv6	Local IP address to which we bind
208
# local-ipv6	Local IP address to which we bind
166
#
209
#
167
# local-ipv6=
210
# local-ipv6=
168
211
169
#################################
212
#################################
213
# local-ipv6-nonexist-fail	Fail to start if one or more of the local-ipv6 addresses do not exist on this server
214
#
215
# local-ipv6-nonexist-fail=yes
216
217
#################################
170
# local-port	The port on which we listen
218
# local-port	The port on which we listen
171
#
219
#
172
# local-port=53
220
# local-port=53
Lines 174-180 Link Here
174
#################################
222
#################################
175
# log-dns-details	If PDNS should log DNS non-erroneous details
223
# log-dns-details	If PDNS should log DNS non-erroneous details
176
#
224
#
177
# log-dns-details=
225
# log-dns-details=no
178
226
179
#################################
227
#################################
180
# log-dns-queries	If PDNS should log all incoming DNS queries
228
# log-dns-queries	If PDNS should log all incoming DNS queries
Lines 182-197 Link Here
182
# log-dns-queries=no
230
# log-dns-queries=no
183
231
184
#################################
232
#################################
185
# log-failed-updates	If PDNS should log failed update requests
186
#
187
# log-failed-updates=
188
189
#################################
190
# logfile	Logfile to use (Windows only)
191
#
192
# logfile=pdns.log
193
194
#################################
195
# logging-facility	Log under a specific facility
233
# logging-facility	Log under a specific facility
196
#
234
#
197
# logging-facility=
235
# logging-facility=
Lines 202-207 Link Here
202
# loglevel=4
240
# loglevel=4
203
241
204
#################################
242
#################################
243
# lua-prequery-script	Lua script with prequery handler
244
#
245
# lua-prequery-script=
246
247
#################################
205
# master	Act as a master
248
# master	Act as a master
206
#
249
#
207
# master=no
250
# master=no
Lines 212-222 Link Here
212
# max-cache-entries=1000000
255
# max-cache-entries=1000000
213
256
214
#################################
257
#################################
258
# max-ent-entries	Maximum number of empty non-terminals in a zone
259
#
260
# max-ent-entries=100000
261
262
#################################
263
# max-nsec3-iterations	Limit the number of NSEC3 hash iterations
264
#
265
# max-nsec3-iterations=500
266
267
#################################
215
# max-queue-length	Maximum queuelength before considering situation lost
268
# max-queue-length	Maximum queuelength before considering situation lost
216
#
269
#
217
# max-queue-length=5000
270
# max-queue-length=5000
218
271
219
#################################
272
#################################
273
# max-signature-cache-entries	Maximum number of signatures cache entries
274
#
275
# max-signature-cache-entries=
276
277
#################################
220
# max-tcp-connections	Maximum number of TCP connections
278
# max-tcp-connections	Maximum number of TCP connections
221
#
279
#
222
# max-tcp-connections=10
280
# max-tcp-connections=10
Lines 224-233 Link Here
224
#################################
282
#################################
225
# module-dir	Default directory for modules
283
# module-dir	Default directory for modules
226
#
284
#
227
# module-dir=/usr/local/lib
285
# module-dir=/usr/local/lib/pdns
228
286
229
#################################
287
#################################
230
# negquery-cache-ttl	Seconds to store packets in the PacketCache
288
# negquery-cache-ttl	Seconds to store negative query results in the QueryCache
231
#
289
#
232
# negquery-cache-ttl=60
290
# negquery-cache-ttl=60
233
291
Lines 237-242 Link Here
237
# no-shuffle=off
295
# no-shuffle=off
238
296
239
#################################
297
#################################
298
# only-notify	Only send AXFR NOTIFY to these IP addresses or netmasks
299
#
300
# only-notify=0.0.0.0/0,::/0
301
302
#################################
240
# out-of-zone-additional-processing	Do out of zone additional processing
303
# out-of-zone-additional-processing	Do out of zone additional processing
241
#
304
#
242
# out-of-zone-additional-processing=yes
305
# out-of-zone-additional-processing=yes
Lines 247-263 Link Here
247
# overload-queue-length=0
310
# overload-queue-length=0
248
311
249
#################################
312
#################################
250
# per-zone-axfr-acls	When set, backends that implement it perform per-zone AXFL ACL checks
313
# pipebackend-abi-version	Version of the pipe backend ABI
251
#
314
#
252
# per-zone-axfr-acls=off
315
# pipebackend-abi-version=1
253
316
254
#################################
317
#################################
255
# pipebackend-abi-version	Version of the pipe backend ABI
318
# prevent-self-notification	Don't send notifications to what we think is ourself
256
#
319
#
257
# pipebackend-abi-version=1
320
# prevent-self-notification=yes
258
321
259
#################################
322
#################################
260
# query-cache-ttl	Seconds to store packets in the PacketCache
323
# query-cache-ttl	Seconds to store query results in the QueryCache
261
#
324
#
262
# query-cache-ttl=20
325
# query-cache-ttl=20
263
326
Lines 282-293 Link Here
282
# queue-limit=1500
345
# queue-limit=1500
283
346
284
#################################
347
#################################
285
# receiver-threads	Default number of Distributor (backend) threads to start
348
# receiver-threads	Default number of receiver threads to start
286
#
349
#
287
# receiver-threads=1
350
# receiver-threads=1
288
351
289
#################################
352
#################################
290
# recursive-cache-ttl	Seconds to store packets in the PacketCache
353
# recursive-cache-ttl	Seconds to store packets for recursive queries in the PacketCache
291
#
354
#
292
# recursive-cache-ttl=10
355
# recursive-cache-ttl=10
293
356
Lines 302-313 Link Here
302
# retrieval-threads=2
365
# retrieval-threads=2
303
366
304
#################################
367
#################################
368
# reuseport	Enable higher performance on compliant kernels by using SO_REUSEPORT allowing each receiver thread to open its own socket
369
#
370
# reuseport=no
371
372
#################################
305
# send-root-referral	Send out old-fashioned root-referral instead of ServFail in case of no authority
373
# send-root-referral	Send out old-fashioned root-referral instead of ServFail in case of no authority
306
#
374
#
307
# send-root-referral=no
375
# send-root-referral=no
308
376
309
#################################
377
#################################
310
# server-id	Returned when queried for 'server.id' TXT or NSID, defaults to hostname
378
# server-id	Returned when queried for 'server.id' TXT or NSID, defaults to hostname - disabled or custom
311
#
379
#
312
# server-id=
380
# server-id=
313
381
Lines 327-337 Link Here
327
# signing-threads=3
395
# signing-threads=3
328
396
329
#################################
397
#################################
330
# skip-cname	Do not perform CNAME indirection for each query
331
#
332
# skip-cname=no
333
334
#################################
335
# slave	Act as a slave
398
# slave	Act as a slave
336
#
399
#
337
# slave=no
400
# slave=no
Lines 347-363 Link Here
347
# slave-renotify=no
410
# slave-renotify=no
348
411
349
#################################
412
#################################
350
# smtpredirector	Our smtpredir MX host
351
#
352
# smtpredirector=a.misconfigured.powerdns.smtp.server
353
354
#################################
355
# soa-expire-default	Default SOA expire
413
# soa-expire-default	Default SOA expire
356
#
414
#
357
# soa-expire-default=604800
415
# soa-expire-default=604800
358
416
359
#################################
417
#################################
360
# soa-minimum-ttl	Default SOA mininum ttl
418
# soa-minimum-ttl	Default SOA minimum ttl
361
#
419
#
362
# soa-minimum-ttl=3600
420
# soa-minimum-ttl=3600
363
421
Lines 372-392 Link Here
372
# soa-retry-default=3600
430
# soa-retry-default=3600
373
431
374
#################################
432
#################################
375
# soa-serial-offset	Make sure that no SOA serial is less than this number
376
#
377
# soa-serial-offset=0
378
379
#################################
380
# socket-dir	Where the controlsocket will live
433
# socket-dir	Where the controlsocket will live
381
#
434
#
382
# socket-dir=/var/run
435
# socket-dir=/var/run
383
436
384
#################################
437
#################################
385
# strict-rfc-axfrs	Perform strictly rfc compliant axfrs (very slow)
386
#
387
# strict-rfc-axfrs=no
388
389
#################################
390
# tcp-control-address	If set, PowerDNS can be controlled over TCP on this address
438
# tcp-control-address	If set, PowerDNS can be controlled over TCP on this address
391
#
439
#
392
# tcp-control-address=
440
# tcp-control-address=
Lines 407-425 Link Here
407
# tcp-control-secret=
455
# tcp-control-secret=
408
456
409
#################################
457
#################################
410
# trusted-notification-proxy	IP address of incoming notification proxy
458
# traceback-handler	Enable the traceback handler (Linux only)
411
#
459
#
412
# trusted-notification-proxy=
460
# traceback-handler=yes
413
461
414
#################################
462
#################################
415
# urlredirector	Where we send hosts to that need to be url redirected
463
# trusted-notification-proxy	IP address of incoming notification proxy
416
#
464
#
417
# urlredirector=127.0.0.1
465
# trusted-notification-proxy=
418
466
419
#################################
467
#################################
420
# use-logfile	Use a log file (Windows only)
468
# udp-truncation-threshold	Maximum UDP response size before we truncate
421
#
469
#
422
# use-logfile=no
470
# udp-truncation-threshold=1680
423
471
424
#################################
472
#################################
425
# version-string	PowerDNS version in packets - full, anonymous, powerdns or custom
473
# version-string	PowerDNS version in packets - full, anonymous, powerdns or custom
Lines 437-442 Link Here
437
# webserver-address=127.0.0.1
485
# webserver-address=127.0.0.1
438
486
439
#################################
487
#################################
488
# webserver-allow-from	Webserver access is only allowed from these subnets
489
#
490
# webserver-allow-from=0.0.0.0/0,::/0
491
492
#################################
440
# webserver-password	Password required for accessing the webserver
493
# webserver-password	Password required for accessing the webserver
441
#
494
#
442
# webserver-password=
495
# webserver-password=
Lines 451-464 Link Here
451
#
504
#
452
# webserver-print-arguments=no
505
# webserver-print-arguments=no
453
506
454
#################################
455
# wildcard-url	Process URL and MBOXFW records
456
#
457
# wildcard-url=no
458
459
#################################
460
# wildcards	Honor wildcards in the database
461
#
462
# wildcards=
463
464
507
(-)./pkg-plist (-40 lines)
Lines 1-40 Link Here
1
bin/pdns_control
2
bin/pdnssec
3
bin/zone2json
4
bin/zone2ldap
5
bin/zone2sql
6
sbin/pdns_server
7
%%TOOLS%%bin/dnsbulktest
8
%%TOOLS%%bin/dnsreplay
9
%%TOOLS%%bin/dnsscan
10
%%TOOLS%%bin/dnsscope
11
%%TOOLS%%bin/dnstcpbench
12
%%TOOLS%%bin/dnswasher
13
%%TOOLS%%bin/nproxy
14
%%TOOLS%%bin/nsec3dig
15
%%PGSQL%%lib/libgpgsqlbackend.so
16
%%MYSQL%%lib/libgmysqlbackend.so
17
%%SQLITE3%%lib/libgsqlite3backend.so
18
%%OPENLDAP%%lib/libldapbackend.so
19
%%OPENDBX%%lib/libopendbxbackend.so
20
%%GEO%%lib/libgeobackend.so
21
%%TINYDNS%%lib/libtinydnsbackend.so
22
%%REMOTE%%lib/libremotebackend.so
23
%%MYDNS%%lib/libmydnsbackend.so
24
%%LUA%%lib/libluabackend.so
25
lib/libpipebackend.so
26
%%TOOLS%%man/man1/dnstcpbench.1.gz
27
%%TOOLS%%man/man8/dnsreplay.8.gz
28
%%TOOLS%%man/man8/dnsscope.8.gz
29
%%TOOLS%%man/man8/dnswasher.8.gz
30
man/man8/pdns_control.8.gz
31
man/man8/pdns_server.8.gz
32
man/man8/pdnssec.8.gz
33
man/man8/zone2ldap.8.gz
34
man/man8/zone2sql.8.gz
35
@unexec if cmp -s %D/etc/pdns/pdns.conf %D/etc/pdns/pdns.conf-dist; then rm -f %D/etc/pdns/pdns.conf; fi
36
etc/pdns/pdns.conf-dist
37
@exec [ -f %B/pdns.conf ] || cp %B/%f %B/pdns.conf
38
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/pdns.conf
39
%%PORTEXAMPLES%%@dirrm %%EXAMPLESDIR%%
40
@dirrmtry etc/pdns

Return to bug 194057