]> git.ipfire.org Git - thirdparty/bind9.git/commit
Add parser support for DoH configuration options
authorEvan Hunt <each@isc.org>
Wed, 16 Sep 2020 19:21:32 +0000 (12:21 -0700)
committerArtem Boldariev <artem@boldariev.com>
Tue, 2 Feb 2021 17:44:52 +0000 (19:44 +0200)
commit37f81ca5fbcf575489dcfab705f8ff6ae91b13b2
tree093c2f1beebd84cf0b5f8393cd9ad2ee02225d43
parentfcb0b6a781e14eae394df89f50ef762f79df1478
Add parser support for DoH configuration options

This commit adds stub parser support and tests for:
- an "https-server" global option for HTTP/2 configuration.
- an "https-endpoint" view option for DoH configuration.
- add specific -p options to set dns, tls, or https port numbers by
  specifying -p dns-PORT, -p tls=PORT, or -p https=PORT.  NOTE: this
  change only affects syntax; specifying the TLS port on the command
  line DOES NOT CURRENTLY HAVE ANY EFFECT.
- change option names to tls-port and https-port for consistency.
- change variable names in system tests to TLSPORT and HTTPSPORT,
  and report them when running tests.

Documentation for these options has also been added to the ARM, but
needs further work.
18 files changed:
bin/named/config.c
bin/named/include/named/globals.h
bin/named/main.c
bin/named/named.conf.rst
bin/named/named.rst
bin/tests/system/checkconf/good-doh-global.conf [new file with mode: 0644]
bin/tests/system/checkconf/good-doh-view.conf [new file with mode: 0644]
bin/tests/system/checkconf/good-dot-global.conf [new file with mode: 0644]
bin/tests/system/conf.sh.common
bin/tests/system/get_ports.sh
bin/tests/system/run.sh.in
doc/arm/reference.rst
doc/man/named.8in
doc/man/named.conf.5in
doc/misc/options
doc/misc/options.active
doc/misc/options.grammar.rst
lib/isccfg/namedconf.c