mirror of https://github.com/TildeNIC/.tilde.git
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:
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";
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue