unbound icon indicating copy to clipboard operation
unbound copied to clipboard

tls-additional-port vs https-port

Open Antonio-Prado opened this issue 2 years ago • 0 comments

unbound.conf allows to configure two overlapping ports: https-port: 443 tls-additional-port: 443

In this case, it seems that tls-additional-port is winning.

Steps to reproduce the behavior:

  1. put port 443 as value for both https-port and tls-additional-port

I'd expect at least a warning on unbound-checkconf

  • Unbound version: 1.16.2
  • OS: FreeBSD 13.1-RELEASE
  • unbound -V output:
root@ns1-rec:/usr/local/etc/unbound # unbound -V
Version 1.16.2

Configure line: --with-libexpat=/usr/local --with-ssl=/usr --enable-dnscrypt --disable-dnstap --with-libnghttp2 --enable-ecdsa --disable-event-api --enable-gost --with-libevent --disable-subnet --disable-tfo-client --disable-tfo-server --with-pthreads --prefix=/usr/local --localstatedir=/var --mandir=/usr/local/man --infodir=/usr/local/share/info/ --build=amd64-portbld-freebsd13.0
Linked libs: libevent 2.1.12-stable (it uses kqueue), OpenSSL 1.1.1o-freebsd  3 May 2022
Linked modules: dns64 respip validator iterator
DNSCrypt feature available

Antonio-Prado avatar Sep 21 '22 10:09 Antonio-Prado