mirror of
https://github.com/TildeNIC/.tilde.git
synced 2026-01-24 03:50:19 +00:00
Add TLS context for DNS over TLS/HTTPS
Added TLS context configuration for DoT/DoH with certificate and key file paths.
This commit is contained in:
committed by
GitHub
parent
283bb38db8
commit
21a8012155
10
named.conf
10
named.conf
@@ -6,7 +6,15 @@
|
|||||||
//
|
//
|
||||||
// If you are just adding zones, please do that in /etc/bind/named.conf.local
|
// If you are just adding zones, please do that in /etc/bind/named.conf.local
|
||||||
|
|
||||||
|
// TLS context for DoT/DoH
|
||||||
|
tls "dns-tls" {
|
||||||
|
cert-file "/etc/bind/keys/dns-fullchain.pem";
|
||||||
|
key-file "/etc/bind/keys/dns-privkey.pem";
|
||||||
|
protocols { TLSv1.3 TLSv1.2; };
|
||||||
|
session-tickets no;
|
||||||
|
};
|
||||||
|
|
||||||
include "/etc/bind/named.conf.options";
|
include "/etc/bind/named.conf.options";
|
||||||
include "/etc/bind/named.conf.local";
|
include "/etc/bind/named.conf.local";
|
||||||
include "/etc/bind/named.conf.default-zones";
|
include "/etc/bind/named.conf.default-zones";
|
||||||
include "/etc/bind/named.conf.opennic";
|
include "/etc/bind/named.conf.opennic";
|
||||||
|
|||||||
Reference in New Issue
Block a user