summaryrefslogtreecommitdiffstats
path: root/openwrt/package/maradns/files/etc
diff options
context:
space:
mode:
Diffstat (limited to 'openwrt/package/maradns/files/etc')
-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 000000000..a7a92a8ce
--- /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 000000000..ee91cbc1e
--- /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"