I set up unbound on a Freebsd 11.1 server to use [email protected] and [email protected] as forwarders yesterday. it worked fine, but sometime during the night it stopped working. Using kdig from the command line with 220.127.116.11/18.104.22.168 works fine as does using unbound with Quad9 (22.214.171.124). Enabling debug on unbound doesn’t give much information other than there is a TCP error talking to both 126.96.36.199 and 188.8.131.52. Unfortunately, there is no real good debugging info at the TCP or TLS levels for unbound apparently. Did anything change with the 184.108.40.206 service last night (around 01:45 Eastern)?
Can you send queries to
220.127.116.11 directly, without going through Unbound?
Yes. Using kdig from the command line works:
kdig -d @18.104.22.168 +tls-ca +tls-host=Cloudflare-dns.com example.com
;; DEBUG: Querying for owner(example.com.), class(1), type(1), server(22.214.171.124), port(853), protocol(TCP)
;; DEBUG: TLS, imported 151 system certificates
;; DEBUG: TLS, received certificate hierarchy:
;; DEBUG: #1, C=US,ST=CA,L=San Francisco,O=Cloudflare, Inc.,CN=*.Cloudflare-dns.com
;; DEBUG: SHA-256 PIN: yioEpqeR4WtDwE9YxNVnCEkTxIjx6EEIwFSQW+lJsbc=
;; DEBUG: #2, C=US,O=DigiCert Inc,CN=DigiCert ECC Secure Server CA
;; DEBUG: SHA-256 PIN: PZXN3lRAy+8tBKk2Ox6F7jIlnzr2Yzmwqc3JnyfXoCw=
;; DEBUG: TLS, skipping certificate PIN check
;; DEBUG: TLS, The certificate is trusted.
;; TLS session (TLS1.2)-(ECDHE-ECDSA-SECP256R1)-(AES-256-GCM)
;; ->>HEADER<<- opcode: QUERY; status: NOERROR; id: 4375
;; Flags: qr rd ra; QUERY: 1; ANSWER: 1; AUTHORITY: 0; ADDITIONAL: 1
;; EDNS PSEUDOSECTION:
;; Version: 0; flags: ; UDP size: 1536 B; ext-rcode: NOERROR
;; PADDING: 408 B
;; QUESTION SECTION:
;; example.com. IN A
;; ANSWER SECTION:
example.com. 2397 IN A 126.96.36.199
;; Received 468 B
;; Time 2018-04-04 17:43:39 EDT
;; From [email protected](TCP) in 15.7 ms
Thanks for the report! This is going to be fixed in the next upgrade that’s being rolled out.
There was an interop issue in the last upgrade with Unbound as it sends the frame size and the actual DNS message in two separate packets instead of both at once.
Thanks for the update! Looking forward to using 188.8.131.52.
Is there an ETA on when this update will be rolled out? I’ve switched to Quad9 in the interim but would like to use Cloudflare when it’s working properly.
It has rolled out today, let me know if you still see any problems!
Looks good from here, running pfSense 2.4.3 with Unbound.
Working for me now as well. Thanks!