MatthewVance / unbound-docker

Unbound DNS Server Docker Image
MIT License
575 stars 139 forks source link

Upgrade to Unbound 1.19.0 and OpenSSL 3.1.4 #152

Closed pgporada closed 10 months ago

pgporada commented 10 months ago

Unbound 1.19.0 release notes

OpenSSL 3.1.4 release notes

Everything appears to be working just fine after building this locally.

$ docker ps
CONTAINER ID   IMAGE          COMMAND         CREATED          STATUS                    PORTS                                                                          NAMES
30d57e6569e9   a14b54ad1e05   "/unbound.sh"   44 seconds ago   Up 44 seconds (healthy)   0.0.0.0:5355->53/tcp, 0.0.0.0:5356->53/udp, :::5355->53/tcp, :::5356->53/udp   funny_kowalevski

root@30d57e6569e9:/opt/unbound# unbound -V       
Version 1.19.0

Configure line: --disable-dependency-tracking --prefix=/opt/unbound --with-pthreads --with-username=_unbound --with-ssl=/opt/openssl --with-libevent --with-libnghttp2 --enable-dnstap --enable-tfo-server --enable-tfo-client --enable-event-api --enable-subnet
Linked libs: libevent 2.1.12-stable (it uses epoll), OpenSSL 3.1.4 24 Oct 2023
Linked modules: dns64 subnetcache respip validator iterator
TCP Fastopen feature available

BSD licensed, see LICENSE in source package for details.
Report bugs to unbound-bugs@nlnetlabs.nl or https://github.com/NLnetLabs/unbound/issues
$ dig @localhost -p5356 yahoo.com

; <<>> DiG 9.18.18-0ubuntu0.22.04.1-Ubuntu <<>> @localhost -p5356 yahoo.com
; (2 servers found)
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 49452
;; flags: qr rd ra; QUERY: 1, ANSWER: 6, AUTHORITY: 0, ADDITIONAL: 1

;; OPT PSEUDOSECTION:
; EDNS: version: 0, flags:; udp: 1232
;; QUESTION SECTION:
;yahoo.com.                     IN      A

;; ANSWER SECTION:
yahoo.com.              1484    IN      A       98.137.11.164
yahoo.com.              1484    IN      A       74.6.231.20
yahoo.com.              1484    IN      A       98.137.11.163
yahoo.com.              1484    IN      A       74.6.143.26
yahoo.com.              1484    IN      A       74.6.231.21
yahoo.com.              1484    IN      A       74.6.143.25

;; Query time: 231 msec
;; SERVER: ::1#5356(localhost) (UDP)
;; WHEN: Fri Nov 17 11:21:52 EST 2023
;; MSG SIZE  rcvd: 134
pgporada commented 10 months ago

Closing because work was duplicated by https://github.com/MatthewVance/unbound-docker/commit/ee41830daf5906f786e0fedd153c2f440bacd8a2.

MatthewVance commented 10 months ago

Thank you for this. Apologies for not merging this. By the time I got around to updating the version, a new version of OpenSSL was out so I wanted to include it.