.. function:: net.tls_padding([true | false])
- Get/set EDNS(0) padding of answers to queries that arrive over TLS
- transport. If set to `true` (the default), it will use a sensible
+ Get/set EDNS(0) padding of queries and answers sent over an encrypted
+ channel. If set to `true` (the default), it will use a sensible
default padding scheme, as implemented by libknot if available at
compile time. If set to a numeric value >= 2 it will pad the
answers to nearest *padding* boundary, e.g. if set to `64`, the
:default: true
- EDNS(0) padding of answers to queries that arrive over TLS
- transport. If set to ``true`` (the default), it will use a sensible
+ EDNS(0) padding of answers of queries and answers sent over an encrypted
+ channel. If set to ``true`` (the default), it will use a sensible
default padding scheme, as implemented by libknot if available at
compile time. If set to a numeric value >= 2 it will pad the
answers to nearest *padding* boundary, e.g. if set to ``64``, the
key_file: Path to certificate key file.
sticket_secret: Secret for TLS session resumption via tickets. (RFC 5077).
sticket_secret_file: Path to file with secret for TLS session resumption via tickets. (RFC 5077).
- auto_discovery: Automatic discovery of authoritative servers supporting DNS-over-TLS.
- padding: EDNS(0) padding of answers to queries that arrive over TLS transport.
+ auto_discovery: Experimental automatic discovery of authoritative servers supporting DNS-over-TLS.
+ padding: EDNS(0) padding of queries and answers sent over an encrypted channel.
"""
cert_file: Optional[File] = None