unbound: add doh-local.sample

Works otherwise, but self-signed cert didn't satisfy Chromium I wanted to point at it
This commit is contained in:
Aminda Suomalainen 2024-05-06 18:55:00 +03:00
parent 10bec4c782
commit afb0801430
Signed by: Mikaela
SSH Key Fingerprint: SHA256:CXLULpqNBdUKB6E6fLA1b/4SzG0HvKD19PbIePU175Q
2 changed files with 12 additions and 0 deletions

3
.gitignore vendored
View File

@ -14,6 +14,9 @@
!.pre-commit-config.yaml
!.reuse
# Certificates (unlikely to happen, but better safe than sorry)
*.pem
# Symlinks
install.run
LICENSE

View File

@ -0,0 +1,9 @@
# semanage port -a -t dns_port_t -p tcp 4433
interface: ::1@53
interface: 127.0.0.1@53
interface: ::1@4433
interface: 127.0.0.1@4433
https-port: 4433
#http-notls-downstream: yes
tls-service-key: /etc/unbound/conf.d/unbound.pem
tls-service-pem: /etc/unbound/conf.d/unbound.pem