mirror of
https://github.com/minoplhy/DNSserver.git
synced 2024-11-24 10:16:54 +00:00
19 lines
613 B
Plaintext
19 lines
613 B
Plaintext
# DNS upstream pool
|
|
upstream dns {
|
|
zone dns 64k;
|
|
server 127.0.0.1:5353;
|
|
}
|
|
|
|
# DoT server for decryption
|
|
server {
|
|
listen 853 ssl;
|
|
listen [::]:853 ssl;
|
|
ssl_protocols TLSv1.2 TLSv1.3;
|
|
ssl_ciphers ECDHE-ECDSA-AES128-GCM-SHA256:ECDHE-RSA-AES128-GCM-SHA256:ECDHE-ECDSA-AES256-GCM-SHA384:ECDHE-RSA-AES256-GCM-SHA384:ECDHE-ECDSA-CHACHA20-POLY1305:ECDHE-RSA-CHACHA20-POLY1305:DHE-RSA-AES128-GCM-SHA256:DHE-RSA-AES256-GCM-SHA384;
|
|
ssl_prefer_server_ciphers off;
|
|
ssl_certificate /go/to/ket/;
|
|
ssl_certificate_key /go/to/ket/;
|
|
proxy_pass dns;
|
|
}
|
|
|