diff options
author | terminaldweller <thabogre@gmail.com> | 2023-01-14 04:30:53 +0000 |
---|---|---|
committer | terminaldweller <thabogre@gmail.com> | 2023-01-14 04:30:53 +0000 |
commit | c81052b70888eb18dca82e33444ebbd9910f5ebc (patch) | |
tree | 6b6eb892438a15f7b4849d7508d61d9491b809c3 /terminaldweller.com/doh2/docker-entrypoint.sh | |
parent | update (diff) | |
download | scripts-c81052b70888eb18dca82e33444ebbd9910f5ebc.tar.gz scripts-c81052b70888eb18dca82e33444ebbd9910f5ebc.zip |
update
Diffstat (limited to 'terminaldweller.com/doh2/docker-entrypoint.sh')
-rwxr-xr-x | terminaldweller.com/doh2/docker-entrypoint.sh | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/terminaldweller.com/doh2/docker-entrypoint.sh b/terminaldweller.com/doh2/docker-entrypoint.sh new file mode 100755 index 0000000..c99042a --- /dev/null +++ b/terminaldweller.com/doh2/docker-entrypoint.sh @@ -0,0 +1,30 @@ +#!/bin/sh + +/dnsproxy/dnsproxy \ + --tls-cert /certs/fullchain1.pem \ + --tls-key /certs/privkey1.pem \ + -l 0.0.0.0 \ + -p 0 \ + --https-port 8844 \ + --tls-port 8845 \ + --quic-port 8846 \ + --dnscrypt-port 8847 \ + -u sdns://AgcAAAAAAAAABzEuMC4wLjGgENk8mGSlIfMGXMOlIlCcKvq7AVgcrZxtjon911-ep0cg63Ul-I8NlFj4GplQGb_TTLiczclX57DvMV8Q-JdjgRgSZG5zLmNsb3VkZmxhcmUuY29tCi9kbnMtcXVlcnk \ + -u sdns://AQIAAAAAAAAAFDE3Ni4xMDMuMTMwLjEzMDo1NDQzINErR_JS3PLCu_iZEIbq95zkSV2LFsigxDIuUso_OQhzIjIuZG5zY3J5cHQuZGVmYXVsdC5uczEuYWRndWFyZC5jb20 \ + -u tls://dns.adguard.com \ + -u https://dns.adguard.com/dns-query \ + -u quic://dns.adguard.com \ + -b 1.1.1.1:53 \ + -b 9.9.9.9:53 \ + --http3 \ + -f 1.1.1.1:53 \ + -f 9.9.9.9:53 \ + --ratelimit 15 \ + --refuse-any \ + --cache \ + --cache-size 1048576 \ + --cache-min-ttl 900 \ + --cache-max-ttl 14400 \ + --cache-optimistic \ + --tls-min-version 1.3 \ + --tls-max-version 1.3 |