Skip to content

Commit 0d82046

Browse files
authored
Bump CoreDNS to 1.11.4 (#148)
* 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
1 parent 312354a commit 0d82046

File tree

3 files changed

+9
-8
lines changed

3 files changed

+9
-8
lines changed

Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
ARG BUILD_FROM
22

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

55
WORKDIR /usr/src
66
ARG BUILD_ARCH

build.yaml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
image: ghcr.io/home-assistant/{arch}-hassio-dns
22
build_from:
3-
aarch64: ghcr.io/home-assistant/aarch64-base:3.19
4-
armhf: ghcr.io/home-assistant/armhf-base:3.19
5-
armv7: ghcr.io/home-assistant/armv7-base:3.19
6-
amd64: ghcr.io/home-assistant/amd64-base:3.19
7-
i386: ghcr.io/home-assistant/i386-base:3.19
3+
aarch64: ghcr.io/home-assistant/aarch64-base:3.20
4+
armhf: ghcr.io/home-assistant/armhf-base:3.20
5+
armv7: ghcr.io/home-assistant/armv7-base:3.20
6+
amd64: ghcr.io/home-assistant/amd64-base:3.20
7+
i386: ghcr.io/home-assistant/i386-base:3.20
88
codenotary:
99
signer: notary@home-assistant.io
1010
base_image: notary@home-assistant.io
@@ -21,4 +21,4 @@ labels:
2121
org.opencontainers.image.documentation: https://www.home-assistant.io/docs/
2222
org.opencontainers.image.licenses: Apache License 2.0
2323
args:
24-
COREDNS_VERSION: 1.8.7
24+
COREDNS_VERSION: 1.11.4

plugins/fallback/forward.go

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ import (
77
"github.com/coredns/caddy"
88
"github.com/coredns/coredns/plugin/forward"
99
"github.com/coredns/coredns/plugin/pkg/parse"
10+
"github.com/coredns/coredns/plugin/pkg/proxy"
1011
"github.com/coredns/coredns/plugin/pkg/transport"
1112
)
1213

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

0 commit comments

Comments
 (0)