export PDNS=${PDNS:-../../../pdns/pdns_server}
export PDNSRECURSOR=${PDNSRECURSOR:-../../../pdns/recursordist/pdns_recursor}
+export RECCONTROL=${RECCONTROL:-../../../pdns/recursordist/rec_control}
. ./vars
api-readonly=yes
forward-zones-file=$(pwd)/recursor-service/forward-zones-file
-socket-dir=$(pwd)/recursor-serviceS
+socket-dir=$(pwd)/recursor-service
auth-zones=global.box.answer-cname-in-local.example.net=$(pwd)/recursor-service/global.box.answer-cname-in-local.example.net.zone,auth-zone.example.net=$(pwd)/recursor-service/auth-zone.example.net.zone,another-auth-zone.example.net=$(pwd)/recursor-service/another-auth-zone.example.net.zone
+loglevel=9
EOF
--- /dev/null
+#!/bin/sh
+elements="$($RECCONTROL --config-dir=./config/recursor-service help | grep -v -e '^ ' | awk '{print $1}')"
+
+missing_elements=""
+for element in $elements; do
+ grep -e -q "^$element" ../docs/manpages/rec_control.1.md || missing_elements="$element\n$missing_elements"
+done
+
+if [ $missing_elements != "" ]; then
+ echo "The following commands are missing from the manpage:\n"
+ echo $missing_elements
+fi
+
+exit 0
--- /dev/null
+Checks if all commands for rec_control exist in the manpage.
export PDNS=${PDNS:-${PWD}/../pdns/pdns_server}
export PDNS2=${PDNS2:-${PWD}/../pdns/pdns_server}
export PDNSRECURSOR=${PDNSRECURSOR:-${PWD}/../pdns_recursor}
+export RECCONTROL=${RECCONTROL:-${PWD}/../rec_control}
export SDIG=${SDIG:-${PWD}/../pdns/sdig}
export NOTIFY=${NOTIFY:-${PWD}/../pdns/notify}
export NSEC3DIG=${NSEC3DIG:-${PWD}/../pdns/nsec3dig}
export PDNS=${PDNS:-${PWD}/../pdns/pdns_server}
export PDNS2=${PDNS2:-${PWD}/../pdns/pdns_server}
export PDNSRECURSOR=${PDNSRECURSOR:-${PWD}/../pdns_recursor}
+export RECCONTROL=${RECCONTROL:-${PWD}/../rec_control}
export SDIG=${SDIG:-${PWD}/../pdns/sdig}
export NOTIFY=${NOTIFY:-${PWD}/../pdns/notify}
export NSEC3DIG=${NSEC3DIG:-${PWD}/../pdns/nsec3dig}