[arch-commits] Commit in pdns/trunk (PKGBUILD pdns.conf pdns.rc)

Alexander Rødseth arodseth at nymeria.archlinux.org
Thu May 9 14:41:41 EDT 2013


    Date: Thursday, May 9, 2013 @ 20:41:40
  Author: arodseth
Revision: 90234

upgpkg: pdns 3.2-6, updated the default configuration file, removed the obsolete init script

Modified:
  pdns/trunk/PKGBUILD
  pdns/trunk/pdns.conf
Deleted:
  pdns/trunk/pdns.rc

-----------+
 PKGBUILD  |   15 ++--
 pdns.conf |  204 ++++++++++++++++++++++++++++++++++++++++++++++++++----------
 pdns.rc   |   35 ----------
 3 files changed, 178 insertions(+), 76 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2013-05-09 17:39:45 UTC (rev 90233)
+++ PKGBUILD	2013-05-09 18:41:40 UTC (rev 90234)
@@ -5,7 +5,7 @@
 
 pkgname=pdns
 pkgver=3.2
-pkgrel=5
+pkgrel=6
 pkgdesc='Modern, advanced and high performance authoritative-only nameserver'
 arch=('x86_64' 'i686')
 url='http://www.powerdns.com/'
@@ -20,17 +20,20 @@
 backup=('etc/powerdns/pdns.conf')
 source=("http://downloads.powerdns.com/releases/$pkgname-$pkgver.tar.gz"
         'pdns.service'
-        'pdns.rc'
         'pdns.conf')
 sha256sums=('d1895aba065446dc68e5d7cc792d5303626c71759f61a455531ed65d59c06572'
             '2a60c4407bcfe19026ae77d3e3b7b477d5a0c6323c0bc78892e9d907003b442a'
-            '0457ffa2baa40518a03393e4f76964d9452c16aebbcb925582814f88367d62c2'
-            '91c8889f41fe9d6bc9478c3ad53a10f6725e36e10f05e8e9257f9d35c9e2bab6')
+            'a1afcccb0d2fb6a6f7a5960de95f8d38ce1ac75ac5e3dcecf09e49f0de10166e')
 
+prepare() {
+  cd "$srcdir/$pkgname-$pkgver"
+
+  touch AUTHORS NEWS
+}
+
 build() {
   cd "$srcdir/$pkgname-$pkgver"
 
-  touch AUTHORS NEWS
   ./configure \
     --prefix=/usr \
     --sysconfdir=/etc/powerdns \
@@ -48,9 +51,7 @@
   cd "$srcdir/$pkgname-$pkgver"
 
   make DESTDIR="$pkgdir" install
-  install -m755 -d "$pkgdir/etc/rc.d"
   install -m644 "$srcdir/pdns.conf" "$pkgdir/etc/powerdns/"
-  install -m755 "$srcdir/pdns.rc" "$pkgdir/etc/rc.d/pdns"
   install -Dm644 "$srcdir/pdns.service" \
     "$pkgdir/usr/lib/systemd/system/pdns.service"
   rm "$pkgdir/etc/powerdns/pdns.conf-dist"

Modified: pdns.conf
===================================================================
--- pdns.conf	2013-05-09 17:39:45 UTC (rev 90233)
+++ pdns.conf	2013-05-09 18:41:40 UTC (rev 90234)
@@ -1,20 +1,15 @@
 # Autogenerated configuration file template
 #################################
-# allow-axfr-ips	If disabled, DO allow zonetransfers from these IP addresses
+# allow-axfr-ips	Allow zonetransfers only to these subnets
 #
-# allow-axfr-ips=
+# allow-axfr-ips=0.0.0.0/0,::/0
 
 #################################
-# allow-recursion	List of netmasks that are allowed to recurse
+# allow-recursion	List of subnets that are allowed to recurse
 #
 allow-recursion=127.0.0.1
 
 #################################
-# allow-recursion-override	Local data overrrides hosts on the internet
-#
-allow-recursion-override=yes
-
-#################################
 # cache-ttl	Seconds to store packets in the PacketCache
 #
 cache-ttl=60
@@ -50,6 +45,11 @@
 # default-soa-name=a.misconfigured.powerdns.server
 
 #################################
+# default-ttl	Seconds a result is valid if not set otherwise
+#
+# default-ttl=3600
+
+#################################
 # disable-axfr	Disable zonetransfers but do allow TCP queries
 #
 # disable-axfr=no
@@ -65,6 +65,41 @@
 distributor-threads=3
 
 #################################
+# do-ipv6-additional-processing	Do AAAA additional processing
+#
+# do-ipv6-additional-processing=yes
+
+#################################
+# edns-subnet-option-number	EDNS option number to use
+#
+# edns-subnet-option-number=20730
+
+#################################
+# edns-subnet-processing	If we should act on EDNS Subnet options
+#
+# edns-subnet-processing=no
+
+#################################
+# entropy-source	If set, read entropy from this file
+#
+# entropy-source=/dev/urandom
+
+#################################
+# experimental-direct-dnskey	EXPERIMENTAL: fetch DNSKEY RRs from backend during DNSKEY synthesis
+#
+# experimental-direct-dnskey=no
+
+#################################
+# experimental-json-interface	If the webserver should serve JSON data
+#
+# experimental-json-interface=no
+
+#################################
+# experimental-logfile	Filename of the log file for JSON parser
+#
+# experimental-logfile=/var/log/pdns.log
+
+#################################
 # fancy-records	Process URL and MBOXFW records
 #
 # fancy-records=no
@@ -77,20 +112,15 @@
 #################################
 # launch	Which backends to launch and order to query them in
 #
-#launch=
+# launch=
 
 #################################
-# lazy-recursion	Only recurse if question cannot be answered locally
-#
-lazy-recursion=yes
-
-#################################
 # load-modules	Load this module - supply absolute or relative path
 #
 # load-modules=
 
 #################################
-# local-address	Local IP address to which we bind
+# local-address	Local IP addresses to which we bind
 #
 local-address=127.0.0.1
 
@@ -105,19 +135,19 @@
 local-port=53
 
 #################################
-# log-dns-details	If PDNS should log failed update requests
+# log-dns-details	If PDNS should log DNS non-erroneous details
 #
-#log-dns-details=off
+# log-dns-details=
 
 #################################
-# log-failed-updates	If PDNS should log failed update requests
+# log-dns-queries	If PDNS should log all incoming DNS queries
 #
-#log-failed-updates=off
+# log-dns-queries=no
 
 #################################
-# logfile	Logfile to use
+# log-failed-updates	If PDNS should log failed update requests
 #
-# logfile=pdns.log
+# log-failed-updates=
 
 #################################
 # logging-facility	Log under a specific facility
@@ -130,11 +160,26 @@
 loglevel=3
 
 #################################
+# lua-prequery-script	Lua script with prequery handler
+#
+# lua-prequery-script=
+
+#################################
 # master	Act as a master
 #
 # master=no
 
 #################################
+# max-cache-entries	Maximum number of cache entries
+#
+# max-cache-entries=1000000
+
+#################################
+# max-ent-entries	Maximum number of empty non-terminals in a zone
+#
+# max-ent-entries=100000
+
+#################################
 # max-queue-length	Maximum queuelength before considering situation lost
 #
 # max-queue-length=5000
@@ -150,26 +195,46 @@
 module-dir=/usr/lib/powerdns
 
 #################################
-# negquery-cache-ttl	Seconds to store packets in the PacketCache
+# negquery-cache-ttl	Seconds to store negative query results in the QueryCache
 #
 negquery-cache-ttl=60
 
 #################################
-# only-soa	Make sure that no SOA serial is less than this number
+# no-shuffle	Set this to prevent random shuffling of answers - for regression testing
 #
-# only-soa=org
+# no-shuffle=off
 
 #################################
 # out-of-zone-additional-processing	Do out of zone additional processing
 #
-# out-of-zone-additional-processing=no
+# out-of-zone-additional-processing=yes
 
 #################################
-# query-cache-ttl	Seconds to store packets in the PacketCache
+# overload-queue-length	Maximum queuelength moving to packetcache only
 #
+# overload-queue-length=0
+
+#################################
+# pipebackend-abi-version	Version of the pipe backend ABI
+#
+# pipebackend-abi-version=1
+
+#################################
+# query-cache-ttl	Seconds to store query results in the QueryCache
+#
 # query-cache-ttl=20
 
 #################################
+# query-local-address	Source IP address for sending queries
+#
+# query-local-address=0.0.0.0
+
+#################################
+# query-local-address6	Source IPv6 address for sending queries
+#
+# query-local-address6=::
+
+#################################
 # query-logging	Hint backends that queries should be logged
 #
 # query-logging=no
@@ -180,21 +245,36 @@
 # queue-limit=1500
 
 #################################
-# receiver-threads	Number of receiver threads to launch
+# receiver-threads	Default number of Distributor (backend) threads to start
 #
 # receiver-threads=1
 
 #################################
-# recursive-cache-ttl	Seconds to store packets in the PacketCache
+# recursive-cache-ttl	Seconds to store packets for recursive queries in the PacketCache
 #
 # recursive-cache-ttl=10
 
 #################################
 # recursor	If recursion is desired, IP address of a recursing nameserver
 #
-#recursor=
+# recursor=no
 
 #################################
+# retrieval-threads	Number of AXFR-retrieval threads for slave operation
+#
+# retrieval-threads=2
+
+#################################
+# send-root-referral	Send out old-fashioned root-referral instead of ServFail in case of no authority
+#
+# send-root-referral=no
+
+#################################
+# server-id	Returned when queried for 'server.id' TXT or NSID, defaults to hostname
+#
+# server-id=
+
+#################################
 # setgid	If set, change group id to this gid for more security
 #
 setgid=nobody
@@ -205,9 +285,9 @@
 setuid=nobody
 
 #################################
-# skip-cname	Do not perform CNAME indirection for each query
+# signing-threads	Default number of signer threads to start
 #
-# skip-cname=no
+# signing-threads=3
 
 #################################
 # slave	Act as a slave
@@ -220,16 +300,36 @@
 # slave-cycle-interval=60
 
 #################################
+# slave-renotify	If we should send out notifications for slaved updates
+#
+# slave-renotify=no
+
+#################################
 # smtpredirector	Our smtpredir MX host
 #
 # smtpredirector=a.misconfigured.powerdns.smtp.server
 
 #################################
-# soa-minimum-ttl	Default SOA mininum ttl
+# soa-expire-default	Default SOA expire
 #
+# soa-expire-default=604800
+
+#################################
+# soa-minimum-ttl	Default SOA minimum ttl
+#
 # soa-minimum-ttl=3600
 
 #################################
+# soa-refresh-default	Default SOA refresh
+#
+# soa-refresh-default=10800
+
+#################################
+# soa-retry-default	Default SOA retry
+#
+# soa-retry-default=3600
+
+#################################
 # soa-serial-offset	Make sure that no SOA serial is less than this number
 #
 # soa-serial-offset=0
@@ -245,14 +345,44 @@
 # strict-rfc-axfrs=no
 
 #################################
+# tcp-control-address	If set, PowerDNS can be controlled over TCP on this address
+#
+# tcp-control-address=
+
+#################################
+# tcp-control-port	If set, PowerDNS can be controlled over TCP on this address
+#
+# tcp-control-port=53000
+
+#################################
+# tcp-control-range	If set, remote control of PowerDNS is possible over these networks only
+#
+# tcp-control-range=127.0.0.0/8, 10.0.0.0/8, 192.168.0.0/16, 172.16.0.0/12, ::1/128, fe80::/10
+
+#################################
+# tcp-control-secret	If set, PowerDNS can be controlled over TCP after passing this secret
+#
+# tcp-control-secret=
+
+#################################
+# traceback-handler	Enable the traceback handler (Linux only)
+#
+# traceback-handler=yes
+
+#################################
+# trusted-notification-proxy	IP address of incoming notification proxy
+#
+# trusted-notification-proxy=
+
+#################################
 # urlredirector	Where we send hosts to that need to be url redirected
 #
 # urlredirector=127.0.0.1
 
 #################################
-# use-logfile	Use a log file
+# version-string	PowerDNS version in packets - full, anonymous, powerdns or custom
 #
-use-logfile=no
+# version-string=full
 
 #################################
 # webserver	Start a webserver for monitoring
@@ -279,3 +409,9 @@
 #
 # webserver-print-arguments=no
 
+#################################
+# wildcard-url	Process URL and MBOXFW records
+#
+# wildcard-url=no
+
+

Deleted: pdns.rc
===================================================================
--- pdns.rc	2013-05-09 17:39:45 UTC (rev 90233)
+++ pdns.rc	2013-05-09 18:41:40 UTC (rev 90234)
@@ -1,35 +0,0 @@
-#!/bin/bash
-
-. /etc/rc.conf
-. /etc/rc.d/functions
-
-case "$1" in
-  start)
-    stat_busy "Starting DNS"
-    ! /usr/sbin/pdns_control ping > /dev/null 2>&1 && /usr/sbin/pdns_server --daemon
-    if [ $? -gt 0 ]; then
-      stat_fail
-    else
-      add_daemon pdns
-      stat_done
-    fi
-    ;;
-  stop)
-    stat_busy "Stopping DNS"
-    pdns_control quit > /dev/null 2>&1
-    if [ $? -gt 0 ]; then
-      stat_fail
-    else
-      rm_daemon pdns
-      stat_done
-    fi
-    ;;
-  restart)
-    $0 stop
-    sleep 3
-    $0 start
-    ;;
-  *)
-    echo "usage: $0 {start|stop|restart}"  
-esac
-exit 0



More information about the arch-commits mailing list