aboutsummaryrefslogtreecommitdiffstats
path: root/examples/source-router/dnsproxy6-tcp
diff options
context:
space:
mode:
authorLaurent Bercot <ska-skaware@skarnet.org>2026-01-23 06:49:25 +0000
committerLaurent Bercot <ska-skaware@skarnet.org>2026-01-23 06:49:25 +0000
commit1aa3bc74170f10a4285827efa2748d1d6c2e4613 (patch)
tree3fc6b79944f119dddf85a1cf8758cfbbab607cbe /examples/source-router/dnsproxy6-tcp
parent3c61b2916c56bfa8d3ce7a6a5480eb93c2ed1470 (diff)
downloads6-rc-1aa3bc74170f10a4285827efa2748d1d6c2e4613.tar.gz
New example batch of service definitions
Diffstat (limited to 'examples/source-router/dnsproxy6-tcp')
-rw-r--r--examples/source-router/dnsproxy6-tcp/dependencies.d/init-ipv60
-rw-r--r--examples/source-router/dnsproxy6-tcp/notification-fd1
-rw-r--r--examples/source-router/dnsproxy6-tcp/producer-for1
-rwxr-xr-xexamples/source-router/dnsproxy6-tcp/run11
-rw-r--r--examples/source-router/dnsproxy6-tcp/type1
5 files changed, 14 insertions, 0 deletions
diff --git a/examples/source-router/dnsproxy6-tcp/dependencies.d/init-ipv6 b/examples/source-router/dnsproxy6-tcp/dependencies.d/init-ipv6
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/examples/source-router/dnsproxy6-tcp/dependencies.d/init-ipv6
diff --git a/examples/source-router/dnsproxy6-tcp/notification-fd b/examples/source-router/dnsproxy6-tcp/notification-fd
new file mode 100644
index 0000000..00750ed
--- /dev/null
+++ b/examples/source-router/dnsproxy6-tcp/notification-fd
@@ -0,0 +1 @@
+3
diff --git a/examples/source-router/dnsproxy6-tcp/producer-for b/examples/source-router/dnsproxy6-tcp/producer-for
new file mode 100644
index 0000000..f2f9f56
--- /dev/null
+++ b/examples/source-router/dnsproxy6-tcp/producer-for
@@ -0,0 +1 @@
+dnsproxy6-tcp-log
diff --git a/examples/source-router/dnsproxy6-tcp/run b/examples/source-router/dnsproxy6-tcp/run
new file mode 100755
index 0000000..ff68c75
--- /dev/null
+++ b/examples/source-router/dnsproxy6-tcp/run
@@ -0,0 +1,11 @@
+#!/command/execlineb -P
+fdmove -c 2 1
+s6-envdir /etc/env-network
+importas -uSi ETH0_IP6
+emptyenv -p
+s6-envuidgid dnscache
+fdmove 1 3
+s6-tcpserver -v -1 -U -c 255 -- ${ETH0_IP6} 53
+s6-tcpserver-access -v2 -DHl0 -x /etc/tcprules/dnsproxy6.cdb --
+s6-tcpclient -DH4l0 -- 192.168.0.1 53
+s6-ioconnect
diff --git a/examples/source-router/dnsproxy6-tcp/type b/examples/source-router/dnsproxy6-tcp/type
new file mode 100644
index 0000000..5883cff
--- /dev/null
+++ b/examples/source-router/dnsproxy6-tcp/type
@@ -0,0 +1 @@
+longrun