diff options
| author | Laurent Bercot <ska-skaware@skarnet.org> | 2025-05-05 06:29:50 +0000 |
|---|---|---|
| committer | Laurent Bercot <ska@appnovation.com> | 2025-05-05 06:29:50 +0000 |
| commit | e18d6958b2470a2e68cc637945ccf3a1dae5c0a2 (patch) | |
| tree | 90e065e7b7422c2f2dbd5d924dfcd14a2866de39 /examples/source/dnsproxy6-udp/run | |
| parent | 09ccd3128f2296d3a0cd1602e64caf06cf22c64f (diff) | |
| download | s6-rc-e18d6958b2470a2e68cc637945ccf3a1dae5c0a2.tar.gz | |
Update examples
Signed-off-by: Laurent Bercot <ska@appnovation.com>
Diffstat (limited to 'examples/source/dnsproxy6-udp/run')
| -rwxr-xr-x | examples/source/dnsproxy6-udp/run | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/examples/source/dnsproxy6-udp/run b/examples/source/dnsproxy6-udp/run new file mode 100755 index 0000000..00b1fa8 --- /dev/null +++ b/examples/source/dnsproxy6-udp/run @@ -0,0 +1,13 @@ +#!/command/execlineb -S1 +fdmove -c 2 1 +s6-envdir /etc/env-network +multisubstitute +{ + importas -uSi ETH0_IP6 + importas -uSi ETH0_IP4 +} +emptyenv -p +if { redirfd -w 1 data/caches s6-echo ${ETH0_IP4} } +s6-envuidgid dnscache +fdmove 1 3 +dnsfunneld -1 -U -Rdata -t61000 -i ${ETH0_IP6} |
