generated from onedr0p/cluster-template
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
QBIT: Attempt to add DNSdist for https DNS
- Loading branch information
1 parent
8802560
commit 1a358fe
Showing
3 changed files
with
50 additions
and
0 deletions.
There are no files selected for viewing
31 changes: 31 additions & 0 deletions
31
kubernetes/apps/media/qbittorrent/qbittorrent/config/dnsdist.conf
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
-- udp/tcp dns listening | ||
setLocal("127.0.0.2:53", {}) | ||
|
||
-- K8S DNS | ||
newServer({ | ||
address = "10.96.0.10", | ||
pool = "k8s", | ||
healthCheckMode = "lazy", | ||
lazyHealthCheckMode = 'TimeoutOnly', | ||
}) | ||
|
||
-- CloudFlare DNS over TLS | ||
newServer({ | ||
address = "1.1.1.1:853", | ||
tls = "openssl", | ||
subjectName = "cloudflare-dns.com", | ||
validateCertificates = true, | ||
healthCheckMode = "lazy", | ||
lazyHealthCheckMode = 'TimeoutOnly', | ||
}) | ||
newServer({ | ||
address = "1.0.0.1:853", | ||
tls = "openssl", | ||
subjectName = "cloudflare-dns.com", | ||
validateCertificates = true, | ||
healthCheckMode = "lazy", | ||
lazyHealthCheckMode = 'TimeoutOnly', | ||
}) | ||
|
||
-- Routing rules | ||
addAction('cluster.local', PoolAction('k8s')) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters