server:ssl-upstream: yesdo-tcp: yesforward-zone: name: "." forward-addr: 1.1.1.1@853 forward-addr: 1.0.0.1@853
Apr 4 10:43:35 unbound: [81143:0] debug: tcp error for address ip4 1.0.0.1 port 853 (len 16)Apr 4 10:43:35 unbound: [81143:0] debug: outnettcp got tcp error -1
Keep in mind, something is going on with Cloudflare's DNS-over-TLS implementation.. sometime last night it stopped answering queries properly... can't find any info on the cause yet...
Do I have to open any ports in NAT/Firewall to make this work?
The primary difference here being that the instructions there also included the "do-tcp: yes" directive..
########################### Unbound Configuration############################# Server configuration##server:chroot: /var/unboundusername: unbounddirectory: /var/unboundpidfile: /var/run/unbound.piduse-syslog: yesport: 53verbosity: 1hide-identity: yeshide-version: yesharden-referral-path: nodo-ip4: yesdo-ip6: yesdo-udp: yesdo-tcp: yesdo-daemonize: yesmodule-config: "validator iterator"cache-max-ttl: 86400cache-min-ttl: 0harden-dnssec-stripped: yesserve-expired: yesoutgoing-num-tcp: 20incoming-num-tcp: 20num-queries-per-thread: 1024outgoing-range: 2048infra-host-ttl: 900infra-cache-numhosts: 10000unwanted-reply-threshold: 0jostle-timeout: 500msg-cache-size: 100mrrset-cache-size: 200mnum-threads: 4msg-cache-slabs: 4rrset-cache-slabs: 4infra-cache-slabs: 4key-cache-slabs: 4auto-trust-anchor-file: /var/unbound/root.keyprefetch: yesprefetch-key: yes# Statistics# Unbound Statisticsstatistics-interval: 0extended-statistics: yesstatistics-cumulative: yes# Interface IP(s) to bind tointerface: 0.0.0.0interface: ::0interface-automatic: yes# DNS Rebinding# For DNS Rebinding prevention## All these addresses are either private or should not be routable in the global IPv4 or IPv6 internet.## IPv4 Addresses#private-address: 0.0.0.0/8 # Broadcast addressprivate-address: 10.0.0.0/8private-address: 100.64.0.0/10private-address: 127.0.0.0/8 # Loopback Localhostprivate-address: 169.254.0.0/16private-address: 172.16.0.0/12private-address: 192.0.0.0/24 # IANA IPv4 special purpose netprivate-address: 192.0.2.0/24 # Documentation network TEST-NETprivate-address: 192.168.0.0/16private-address: 198.18.0.0/15 # Used for testing inter-network communicationsprivate-address: 198.51.100.0/24 # Documentation network TEST-NET-2private-address: 203.0.113.0/24 # Documentation network TEST-NET-3private-address: 233.252.0.0/24 # Documentation network MCAST-TEST-NET## IPv6 Addresses#private-address: ::1/128 # Loopback Localhostprivate-address: 2001:db8::/32 # Documentation network IPv6private-address: fc00::/8 # Unique local address (ULA) part of "fc00::/7", not defined yetprivate-address: fd00::/8 # Unique local address (ULA) part of "fc00::/7", "/48" prefix groupprivate-address: fe80::/10 # Link-local address (LLA)# Access listsinclude: /var/unbound/access_lists.conf# Static host entriesinclude: /var/unbound/host_entries.conf# DHCP leases (if configured)include: /var/unbound/dhcpleases.conf# Domain overridesinclude: /var/unbound/domainoverrides.conf# Unbound custom optionsssl-upstream: yesforward-zone:name: "."forward-addr: 9.9.9.9@853forward-addr: 149.112.112.112@853forward-addr: 2620:fe::fe@853#### Remote Control Config###include: /var/unbound/remotecontrol.conf
Is there anyone who only uses the Cloudflare DNS servers successfully in this setup? If they don't work that would explain why it did not work for me.