resolved: add strict mode for DNS-over-TLS
Add strict mode for DNS-over-TLS, which will require TLS support from the server. Closes #10755
This commit is contained in:
@@ -53,7 +53,7 @@ _resolvectl() {
|
||||
[FAMILY]='tcp udp sctp'
|
||||
[RESOLVE]='yes no resolve'
|
||||
[DNSSEC]='yes no allow-downgrade'
|
||||
[DNSOVERTLS]='no opportunistic'
|
||||
[DNSOVERTLS]='yes no opportunistic'
|
||||
)
|
||||
local interfaces=$( __get_interfaces )
|
||||
|
||||
|
||||
@@ -64,7 +64,7 @@ _systemd-resolve() {
|
||||
comps="yes no allow-downgrade"
|
||||
;;
|
||||
--set-dnsovertls)
|
||||
comps="no opportunistic"
|
||||
comps="yes no opportunistic"
|
||||
;;
|
||||
esac
|
||||
COMPREPLY=( $(compgen -W '$comps' -- "$cur") )
|
||||
|
||||
Reference in New Issue
Block a user