feat: add configurable PID1-owned DoH forwarding

Default managed SOCKS hostname DNS to verified HTTPS with literal-IP bootstrap and no plaintext fallback. Supervise the loopback forwarder with private anchored readiness and preserve foreign markers. Include configuration, deployment, documentation and offline checks.

Co-authored-by: GPT-6 <gpt-6@openai.com>
This commit is contained in:
ZeusinaandGPT-6 Bot committed 2026-10-13 14:32:58 +03:00
1 parent ea886e5bc8
commit 367d956ae3
20 files changed
+2383 -37

No files matched your search

+8 -1
View File
@@ -6,5 +6,12 @@ ZAPRET_AUTOTUNE_VIDEO_ID=dQw4w9WgXcQ
# Missing/empty selects automatic YouTube inventory: primary + two public samples.
# Nonempty JSON overrides it: 1..5 unique 11-character VideoIDs (not signed URLs).
# ZAPRET_AUTOTUNE_GOOGLEVIDEO_VIDEO_IDS='["dQw4w9WgXcQ","aqz-KE-bpKQ","jNQXAC9IVRw"]'
# Optional target ss-server native DNS; empty retains the base resolver behavior.
# Encrypted target DNS for both SOCKS hostname traffic and managed checks.
ZAPRET_AUTOTUNE_DNS_MODE=doh
ZAPRET_AUTOTUNE_DOH_URL=https://dns.google/dns-query
# Empty selects Google bootstrap only for the exact default URL above.
# Custom provider: change URL AND supply its literal bootstrap IPs (comma-separated).
ZAPRET_AUTOTUNE_DOH_BOOTSTRAP_IPS=
ZAPRET_AUTOTUNE_DOH_TIMEOUT_SEC=5
# Explicit native mode only; ignored in doh mode. Never an automatic fallback.
SS_DNS_SERVER=