]> granicus.if.org Git - pdns/commitdiff
cleanup lua backend test dir
authorKees Monshouwer <mind04@monshouwer.org>
Fri, 10 Oct 2014 18:10:44 +0000 (20:10 +0200)
committermind04 <mind04@monshouwer.org>
Fri, 10 Oct 2014 18:12:07 +0000 (20:12 +0200)
modules/luabackend/test/.gitignore [new file with mode: 0644]
modules/luabackend/test/dnsperf
modules/luabackend/test/pdns
modules/luabackend/test/pdns.conf
modules/luabackend/test/pdns.pid [deleted file]
modules/luabackend/test/pdns_control [changed mode: 0644->0755]
modules/luabackend/test/pdnssec

diff --git a/modules/luabackend/test/.gitignore b/modules/luabackend/test/.gitignore
new file mode 100644 (file)
index 0000000..d200e0e
--- /dev/null
@@ -0,0 +1 @@
+pdns.pid
index c4ba0e76234357d1ab3bb94bd9a262ea6153a318..ecd910b3db5bb431ceeb32a0353db1f19288a7f0 100755 (executable)
@@ -1 +1,3 @@
-../../../../../src/dnsperf-src-1.0.1.0-1/dnsperf -d one -p5300 -H10 -T1 -l60
+#!/usr/bin/env bash
+
+dnsperf -d one -p5300 -H10 -T1 -l60
index 95df2d0feb2496d13117bdcabecefc626df13091..44fa78b70f70a6ded2d01bd3cdd43d1e31571812 100755 (executable)
@@ -1,4 +1,5 @@
+#!/usr/bin/env bash
+
 ../../../pdns/pdns_server --daemon=no --local-port=5300 --socket-dir=./  \
---no-shuffle --launch=lua \
---fancy-records --send-root-referral --loglevel=9 \
---config-dir=./ --cache-ttl=0 --negquery-cache-ttl=0 --query-cache-ttl=0 --recursive-cache-ttl=0 
\ No newline at end of file
+--no-shuffle --launch=lua --send-root-referral --loglevel=9 \
+--config-dir=./ --cache-ttl=0 --negquery-cache-ttl=0 --query-cache-ttl=0 --recursive-cache-ttl=0
index 5149b8fedb5dbe48eb47e5e7defebdfe12c3bd1c..6f70567c1b2410531aac3ca6a0174bf8f84192f2 100644 (file)
@@ -1,330 +1,3 @@
-# Autogenerated configuration file template
-#################################
-# allow-axfr-ips       Allow zonetransfers only to these subnets
-#
-# allow-axfr-ips=0.0.0.0/0
-
-#################################
-# allow-recursion      List of subnets that are allowed to recurse
-#
-# allow-recursion=0.0.0.0/0
-
-#################################
-# allow-recursion-override     Set this so that local data fully overrides the recursor
-#
-# allow-recursion-override=no
-
-#################################
-# cache-ttl    Seconds to store packets in the PacketCache
-#
-# cache-ttl=20
-
-#################################
-# chroot       If set, chroot to this directory for more security
-#
-# chroot=
-
-#################################
-# config-dir   Location of configuration directory (pdns.conf)
-#
-# config-dir=/usr/local/etc
-
-#################################
-# config-name  Name of this virtual configuration - will rename the binary image
-#
-# config-name=
-
-#################################
-# control-console      Debugging switch - don't use
-#
-# control-console=no
-
-#################################
-# daemon       Operate as a daemon
-#
-# daemon=no
-
-#################################
-# default-soa-name     name to insert in the SOA record if none set in the backend
-#
-# 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
-
-#################################
-# disable-tcp  Do not listen to TCP queries
-#
-# disable-tcp=no
-
-#################################
-# distributor-threads  Default number of Distributor (backend) threads to start
-#
-distributor-threads=3
-
-#################################
-# do-ipv6-additional-processing        Do AAAA additional processing
-#
-do-ipv6-additional-processing=yes
-
-#################################
-# fancy-records        Process URL and MBOXFW records
-#
-# fancy-records=no
-
-#################################
-# guardian     Run within a guardian process
-#
-# guardian=no
-
-#################################
-# launch       Which backends to launch and order to query them in
-#
-# 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 addresses to which we bind
-#
 local-address=127.0.0.1
-
-#################################
-# local-ipv6   Local IP address to which we bind
-#
 local-ipv6=::1
-
-#################################
-# local-port   The port on which we listen
-#
-# local-port=53
-
-#################################
-# log-dns-details      If PDNS should log DNS non-erroneous details
-#
-# log-dns-details=
-
-#################################
-# logfile      Logfile to use (Windows only)
-#
-# logfile=pdns.log
-
-#################################
-# logging-facility     Log under a specific facility
-#
-# logging-facility=
-
-#################################
-# loglevel     Amount of logging. Higher is more. Do not set below 3
-#
-# loglevel=4
-
-#################################
-# master       Act as a master
-#
-# master=no
-
-#################################
-# max-queue-length     Maximum queuelength before considering situation lost
-#
-# max-queue-length=5000
-
-#################################
-# max-tcp-connections  Maximum number of TCP connections
-#
-# max-tcp-connections=10
-
-#################################
-# module-dir   Default directory for modules
-#
-# module-dir=/usr/local/lib
-
-#################################
-# negquery-cache-ttl   Seconds to store packets in the PacketCache
-#
-# negquery-cache-ttl=60
-
-#################################
-# no-shuffle   Set this to prevent random shuffling of answers - for regression testing
-#
-# no-shuffle=off
-
-#################################
-# out-of-zone-additional-processing    Do out of zone additional processing
-#
-# out-of-zone-additional-processing=yes
-
-#################################
-# pipebackend-abi-version      Version of the pipe backend ABI
-#
-# pipebackend-abi-version=1
-
-#################################
-# query-cache-ttl      Seconds to store packets in the PacketCache
-#
-# query-cache-ttl=20
-
-#################################
-# query-local-address  Source IP address for sending queries
-#
-# query-local-address=
-
-#################################
-# query-logging        Hint backends that queries should be logged
-#
-# query-logging=no
-
-#################################
-# queue-limit  Maximum number of milliseconds to queue a query
-#
-# queue-limit=1500
-
-#################################
-# recursive-cache-ttl  Seconds to store packets in the PacketCache
-#
-# recursive-cache-ttl=10
-
-#################################
-# recursor     If recursion is desired, IP address of a recursing nameserver
-#
-# recursor=no
-
-#################################
-# send-root-referral   Send out old-fashioned root-referral instead of ServFail in case of no authority
-#
-# send-root-referral=no
-
-#################################
-# setgid       If set, change group id to this gid for more security
-#
-# setgid=
-
-#################################
-# setuid       If set, change user id to this uid for more security
-#
-# setuid=
-
-#################################
-# skip-cname   Do not perform CNAME indirection for each query
-#
-# skip-cname=no
-
-#################################
-# slave        Act as a slave
-#
-# slave=no
-
-#################################
-# slave-cycle-interval Reschedule failed SOA serial checks once every .. seconds
-#
-# slave-cycle-interval=60
-
-#################################
-# smtpredirector       Our smtpredir MX host
-#
-# smtpredirector=a.misconfigured.powerdns.smtp.server
-
-#################################
-# 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
-
-#################################
-# socket-dir   Where the controlsocket will live
-#
-# socket-dir=/var/run
-
-#################################
-# strict-rfc-axfrs     Perform strictly rfc compliant axfrs (very slow)
-#
-# strict-rfc-axfrs=no
-
-#################################
-# 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 (Windows only)
-#
-# use-logfile=no
-
-#################################
-# version-string       PowerDNS version in packets - full, anonymous, powerdns or custom
-#
-# version-string=full
-
-#################################
-# webserver    Start a webserver for monitoring
-#
-# webserver=no
-
-#################################
-# webserver-address    IP Address of webserver to listen on
-#
-# webserver-address=127.0.0.1
-
-#################################
-# webserver-password   Password required for accessing the webserver
-#
-# webserver-password=
-
-#################################
-# webserver-port       Port of webserver to listen on
-#
-# webserver-port=8081
-
-#################################
-# webserver-print-arguments    If the webserver should print arguments
-#
-# webserver-print-arguments=no
-
-#################################
-# wildcard-url Process URL and MBOXFW records
-#
-# wildcard-url=no
-
-#################################
-# wildcards    Honor wildcards in the database
-#
-# wildcards=
-
-
-#query-logging=yes
 launch=lua
-
diff --git a/modules/luabackend/test/pdns.pid b/modules/luabackend/test/pdns.pid
deleted file mode 100644 (file)
index 479fd61..0000000
+++ /dev/null
@@ -1 +0,0 @@
-6283
old mode 100644 (file)
new mode 100755 (executable)
index 3baa13b..f3a6f77
@@ -1 +1,3 @@
+#!/usr/bin/env bash
+
 ../../../pdns/pdns_control --config-dir=./ --socket-dir=./ $@
index 1d6a2b308ae416558849804cc85769a632bea939..5d679e169df0c483f94643de16221d49d650108f 100755 (executable)
@@ -1 +1,3 @@
+#!/usr/bin/env bash
+
 ../../../pdns/pdnssec --config-dir=./ $@