summaryrefslogtreecommitdiff
path: root/examples/source/dns-server-udp
diff options
context:
space:
mode:
Diffstat (limited to 'examples/source/dns-server-udp')
-rw-r--r--examples/source/dns-server-udp/dependencies2
-rw-r--r--examples/source/dns-server-udp/logger1
-rwxr-xr-xexamples/source/dns-server-udp/run8
-rw-r--r--examples/source/dns-server-udp/type1
4 files changed, 12 insertions, 0 deletions
diff --git a/examples/source/dns-server-udp/dependencies b/examples/source/dns-server-udp/dependencies
new file mode 100644
index 0000000..cd7cc57
--- /dev/null
+++ b/examples/source/dns-server-udp/dependencies
@@ -0,0 +1,2 @@
+init-lan
+mount-rwfs
diff --git a/examples/source/dns-server-udp/logger b/examples/source/dns-server-udp/logger
new file mode 100644
index 0000000..81fc8f4
--- /dev/null
+++ b/examples/source/dns-server-udp/logger
@@ -0,0 +1 @@
+dns-server-udp-log
diff --git a/examples/source/dns-server-udp/run b/examples/source/dns-server-udp/run
new file mode 100755
index 0000000..373ccbc
--- /dev/null
+++ b/examples/source/dns-server-udp/run
@@ -0,0 +1,8 @@
+#!/command/execlineb -P
+fdmove -c 2 1
+s6-softlimit -d 300000
+s6-envuidgid dnsserve
+import -i ETH1_IP4
+export IP ${ETH1_IP4}
+export ROOT /home/dns
+tinydns
diff --git a/examples/source/dns-server-udp/type b/examples/source/dns-server-udp/type
new file mode 100644
index 0000000..5883cff
--- /dev/null
+++ b/examples/source/dns-server-udp/type
@@ -0,0 +1 @@
+longrun