mirror of
https://git.openwrt.org/feed/packages.git
synced 2024-06-16 20:33:58 +02:00
![James Taylor](/assets/img/avatar_default.png)
Maintainer: me Compile tested: armv7l, OpenWRT SDK Run tested: armv7l Linksys WRT1900ACS, OpenWrt SNAPSHOT, r9987-655fff1571 - confirmed PowerDNS recursor links correctly against libraries and runs on my target environment. Description: PowerDNS Recursor is a high-performance resolving name server, utilizing multiple processor and including Lua scripting capabilities. This commit includes the recursive nameserver https://www.powerdns.com/recursor.html Signed-off-by: James Taylor <james@jtaylor.id.au>
15 lines
296 B
Bash
15 lines
296 B
Bash
#!/bin/sh /etc/rc.common
|
|
START=99
|
|
|
|
USE_PROCD=1
|
|
|
|
start_service() {
|
|
[ -e /etc/powerdns/recursor.conf ] || return 1
|
|
|
|
procd_open_instance
|
|
procd_set_param command /usr/sbin/pdns_recursor --daemon=no
|
|
procd_set_param file /etc/powerdns/recursor.conf
|
|
procd_set_param respawn
|
|
procd_close_instance
|
|
}
|