From 53461597b8162cdf620e019e5a3c5c2da69aa7d3 Mon Sep 17 00:00:00 2001 From: Matthew Vance Date: Sat, 10 Oct 2020 21:50:50 -0500 Subject: [PATCH] :gem: Update to Unbound 1.12.0 --- README.md | 2 +- docker-compose.yml | 2 +- unbound/Dockerfile | 8 ++++---- unbound/a-records.conf | 1 + 4 files changed, 7 insertions(+), 6 deletions(-) diff --git a/README.md b/README.md index d0f3707..45bad41 100644 --- a/README.md +++ b/README.md @@ -17,7 +17,7 @@ To achieve this, this setup uses two containers, one running Stubby and another `sudo docker build -t mvance/stubby:latest .` -`sudo docker build -t mvance/unbound:1.10.1-stubby .` +`sudo docker build -t mvance/unbound:1.12.0-stubby .` ### Standard usage diff --git a/docker-compose.yml b/docker-compose.yml index e9def1d..48d2710 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -6,7 +6,7 @@ services: - dns restart: unless-stopped unbound: - image: "mvance/unbound:1.11.0-stubby" + image: "mvance/unbound:1.12.0-stubby" depends_on: - "stubby" ports: diff --git a/unbound/Dockerfile b/unbound/Dockerfile index e282e48..a9f149d 100644 --- a/unbound/Dockerfile +++ b/unbound/Dockerfile @@ -45,9 +45,9 @@ FROM debian:buster as unbound LABEL maintainer="Matthew Vance" ENV NAME=unbound \ - UNBOUND_VERSION=1.11.0 \ - UNBOUND_SHA256=9f2f0798f76eb8f30feaeda7e442ceed479bc54db0e3ac19c052d68685e51ef7 \ - UNBOUND_DOWNLOAD_URL=https://nlnetlabs.nl/downloads/unbound/unbound-1.11.0.tar.gz + UNBOUND_VERSION=1.12.0 \ + UNBOUND_SHA256=5b9253a97812f24419bf2e6b3ad28c69287261cf8c8fa79e3e9f6d3bf7ef5835 \ + UNBOUND_DOWNLOAD_URL=https://nlnetlabs.nl/downloads/unbound/unbound-1.12.0.tar.gz WORKDIR /tmp/src @@ -66,7 +66,7 @@ RUN build_deps="curl gcc libc-dev libevent-dev libexpat1-dev make" && \ echo "${UNBOUND_SHA256} *unbound.tar.gz" | sha256sum -c - && \ tar xzf unbound.tar.gz && \ rm -f unbound.tar.gz && \ - cd unbound-1.11.0 && \ + cd unbound-1.12.0 && \ groupadd _unbound && \ useradd -g _unbound -s /etc -d /dev/null _unbound && \ ./configure \ diff --git a/unbound/a-records.conf b/unbound/a-records.conf index a9fd4af..22f9f09 100644 --- a/unbound/a-records.conf +++ b/unbound/a-records.conf @@ -1,3 +1,4 @@ + # A Record #local-data: "somecomputer.lan. A 192.168.1.1"