Skip to content

Commit

Permalink
Bump CoreDNS to 1.11.4 (#148)
Browse files Browse the repository at this point in the history
* Bump CoreDNS to the 1.11.3

There have been several security fixes since v1.8.7 which was released in
January 2022. For example, CVE-2022-27191 and CVE-2022-28948 were
mentioned in version v1.9.3 and security issues discovered in an audit
were fixed in v1.9.2. There were also plenty of bugfixes done in the
last 2.5 years.

* Update CoreDNS to 1.11.4
  • Loading branch information
IngmarStein authored Nov 25, 2024
1 parent 312354a commit 0d82046
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 8 deletions.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
ARG BUILD_FROM

FROM --platform=amd64 golang:1.22-alpine3.19 AS builder
FROM --platform=amd64 golang:1.23.3-alpine3.20 AS builder

WORKDIR /usr/src
ARG BUILD_ARCH
Expand Down
12 changes: 6 additions & 6 deletions build.yaml
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
image: ghcr.io/home-assistant/{arch}-hassio-dns
build_from:
aarch64: ghcr.io/home-assistant/aarch64-base:3.19
armhf: ghcr.io/home-assistant/armhf-base:3.19
armv7: ghcr.io/home-assistant/armv7-base:3.19
amd64: ghcr.io/home-assistant/amd64-base:3.19
i386: ghcr.io/home-assistant/i386-base:3.19
aarch64: ghcr.io/home-assistant/aarch64-base:3.20
armhf: ghcr.io/home-assistant/armhf-base:3.20
armv7: ghcr.io/home-assistant/armv7-base:3.20
amd64: ghcr.io/home-assistant/amd64-base:3.20
i386: ghcr.io/home-assistant/i386-base:3.20
codenotary:
signer: [email protected]
base_image: [email protected]
Expand All @@ -21,4 +21,4 @@ labels:
org.opencontainers.image.documentation: https://www.home-assistant.io/docs/
org.opencontainers.image.licenses: Apache License 2.0
args:
COREDNS_VERSION: 1.8.7
COREDNS_VERSION: 1.11.4
3 changes: 2 additions & 1 deletion plugins/fallback/forward.go
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ import (
"github.com/coredns/caddy"
"github.com/coredns/coredns/plugin/forward"
"github.com/coredns/coredns/plugin/pkg/parse"
"github.com/coredns/coredns/plugin/pkg/proxy"
"github.com/coredns/coredns/plugin/pkg/transport"
)

Expand Down Expand Up @@ -40,7 +41,7 @@ func initForward(c *caddy.Controller) (*forward.Forward, error) {
if trans != transport.DNS {
return f, fmt.Errorf("only dns transport allowed")
}
p := forward.NewProxy(h, trans)
p := proxy.NewProxy("Fallback", h, trans)
p.SetExpire(defaultExpire)
f.SetProxy(p)
}
Expand Down

0 comments on commit 0d82046

Please sign in to comment.