summaryrefslogtreecommitdiff
path: root/openwrt/package/maradns/files
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2005-04-30 20:45:11 +0000
committerFelix Fietkau <nbd@openwrt.org>2005-04-30 20:45:11 +0000
commit9d7d9110bed5cd0f41a4ce3b21e014930d82c813 (patch)
treed2895baf9b5c0d8ff8bc5ba760592eaf2492fcad /openwrt/package/maradns/files
parent14a542b6b31cad924b8f832856697a28b5c4151d (diff)
downloadmtk-20170518-9d7d9110bed5cd0f41a4ce3b21e014930d82c813.zip
mtk-20170518-9d7d9110bed5cd0f41a4ce3b21e014930d82c813.tar.gz
mtk-20170518-9d7d9110bed5cd0f41a4ce3b21e014930d82c813.tar.bz2
add maradns
SVN-Revision: 777
Diffstat (limited to 'openwrt/package/maradns/files')
-rwxr-xr-xopenwrt/package/maradns/files/etc/init.d/S60maradns2
-rw-r--r--openwrt/package/maradns/files/etc/maradns/maradnsrc9
2 files changed, 11 insertions, 0 deletions
diff --git a/openwrt/package/maradns/files/etc/init.d/S60maradns b/openwrt/package/maradns/files/etc/init.d/S60maradns
new file mode 100755
index 0000000..a7a92a8
--- /dev/null
+++ b/openwrt/package/maradns/files/etc/init.d/S60maradns
@@ -0,0 +1,2 @@
+#!/bin/sh
+/usr/sbin/maradns -f /etc/maradns/maradnsrc >/dev/null 2>&1 &
diff --git a/openwrt/package/maradns/files/etc/maradns/maradnsrc b/openwrt/package/maradns/files/etc/maradns/maradnsrc
new file mode 100644
index 0000000..ee91cbc
--- /dev/null
+++ b/openwrt/package/maradns/files/etc/maradns/maradnsrc
@@ -0,0 +1,9 @@
+hide_disclaimer="YES"
+chroot_dir="/etc/maradns"
+bind_address="0.0.0.0"
+run_as_root=1
+maxprocs=10
+random_seed_file="/dev/urandom"
+recursive_acl="192.168.1.0/24"
+root_servers={}
+root_servers["."]="198.41.0.4,128.9.0.107,192.33.4.12,128.8.10.90,192.203.230.10,192.5.5.241,192.112.36.4,128.63.2.53,192.36.148.17,192.58.128.30,193.0.14.129,198.32.64.12,202.12.27.33"