summaryrefslogtreecommitdiff
path: root/package/pdnsd/files
diff options
context:
space:
mode:
Diffstat (limited to 'package/pdnsd/files')
-rw-r--r--package/pdnsd/files/pdnsd.conf36
-rw-r--r--package/pdnsd/files/pdnsd.conffiles1
-rw-r--r--package/pdnsd/files/pdnsd.init34
-rw-r--r--package/pdnsd/files/pdnsd.postinst3
4 files changed, 0 insertions, 74 deletions
diff --git a/package/pdnsd/files/pdnsd.conf b/package/pdnsd/files/pdnsd.conf
deleted file mode 100644
index 73690524a..000000000
--- a/package/pdnsd/files/pdnsd.conf
+++ /dev/null
@@ -1,36 +0,0 @@
-global {
- perm_cache = 1024;
- cache_dir = "/var/cache/pdnsd"; # do not change this!
- run_as = "nobody";
- strict_setuid = on;
- server_ip = 127.0.0.1; # Use eth0 here if you want to allow other
- # machines on your network to query pdnsd.
- status_ctl = on;
-# paranoid=on; # This option reduces the chance of cache poisoning
- # but may make pdnsd less efficient, unfortunately.
- query_method=udp_tcp;
- min_ttl=15m; # Retain cached entries at least 15 minutes.
- max_ttl=1w; # One week.
- timeout=10; # Global timeout option (10 seconds).
- proc_limit = 20;
-}
-
-# serve local host definitions
-source {
- owner = "localhost";
- serve_aliases = off; # skip everything after the first host for an IP
- file = "/etc/hosts";
-}
-
-# for dns servers via dhcp
-#server {
-# label = "dhcp";
-# file = "/var/resolv.conf";
-# exclude = ".lan";
-# policy = fqdn_only;
-# timeout = 4;
-# uptest = if;
-# interface = "eth0";
-# interval = 60;
-#}
-
diff --git a/package/pdnsd/files/pdnsd.conffiles b/package/pdnsd/files/pdnsd.conffiles
deleted file mode 100644
index c2ae46acb..000000000
--- a/package/pdnsd/files/pdnsd.conffiles
+++ /dev/null
@@ -1 +0,0 @@
-/etc/pdnsd.conf
diff --git a/package/pdnsd/files/pdnsd.init b/package/pdnsd/files/pdnsd.init
deleted file mode 100644
index 5d6111e69..000000000
--- a/package/pdnsd/files/pdnsd.init
+++ /dev/null
@@ -1,34 +0,0 @@
-#!/bin/sh
-#PKG pdnsd
-#INIT 60
-. /etc/rc.conf
-
-case $1 in
-autostop) ;;
-autostart)
- test x"${pdnsd:-NO}" = x"NO" && exit 0
- test x"$pdnsd" = x"DAEMON" && test -x /bin/mksh && exec mksh -T- $0 start
- exec sh $0 start
- ;;
-start)
- [ -f /etc/pdnsd.conf ] || exit
- mkdir -p /var/cache/pdnsd
- touch /var/cache/pdnsd/pdnsd.cache
- # this allows for strict_setuid
- chown -R nobody:nogroup /var/cache/pdnsd
- /usr/sbin/pdnsd -d
- ;;
-stop)
- kill $(pgrep -f /usr/sbin/pdnsd)
- ;;
-restart)
- sh $0 stop
- sleep 1
- sh $0 start
- ;;
-*)
- echo "Usage: $0 {start | stop | restart}"
- exit 1
- ;;
-esac
-exit $?
diff --git a/package/pdnsd/files/pdnsd.postinst b/package/pdnsd/files/pdnsd.postinst
deleted file mode 100644
index 98ba25099..000000000
--- a/package/pdnsd/files/pdnsd.postinst
+++ /dev/null
@@ -1,3 +0,0 @@
-#!/bin/sh
-. $IPKG_INSTROOT/etc/functions.sh
-add_rcconf pdnsd NO