aboutsummaryrefslogtreecommitdiffstats
path: root/packages/torouter-prep/configs/etc/default
diff options
context:
space:
mode:
Diffstat (limited to 'packages/torouter-prep/configs/etc/default')
-rw-r--r--packages/torouter-prep/configs/etc/default/openntpd6
-rwxr-xr-xpackages/torouter-prep/configs/etc/default/ttdnsd17
2 files changed, 23 insertions, 0 deletions
diff --git a/packages/torouter-prep/configs/etc/default/openntpd b/packages/torouter-prep/configs/etc/default/openntpd
new file mode 100644
index 0000000..318e7bd
--- /dev/null
+++ b/packages/torouter-prep/configs/etc/default/openntpd
@@ -0,0 +1,6 @@
+# /etc/default/openntpd
+
+# Append '-s' to set the system time when starting in case the offset
+# between the local clock and the servers is more than 180 seconds.
+# For other options, see man ntpd(8).
+DAEMON_OPTS="-f /etc/openntpd/ntpd.conf -s"
diff --git a/packages/torouter-prep/configs/etc/default/ttdnsd b/packages/torouter-prep/configs/etc/default/ttdnsd
new file mode 100755
index 0000000..0a22bc4
--- /dev/null
+++ b/packages/torouter-prep/configs/etc/default/ttdnsd
@@ -0,0 +1,17 @@
+# /etc/default/ttdnsd
+
+# Address to bind to - usually this should be 127.0.0.1
+# unless a copy of ttdnsd runs on 127.0.0.n
+ADDR_ARG="-b 172.16.23.1"
+
+# Port to listen on - almost always this should be port 53
+# unless an additional local DNS cache (like unbound, dnscache, pdnsd)
+# listen on port 53 as system resolver and is used in front of ttdnsd
+# for caching purposes.
+PORT_ARG="-p 5354"
+
+# Debug logging
+# DEBUG_LOGGING="-l"
+
+# Glue all of it together below
+DEFAULTS="$ADDR_ARG $PORT_ARG"