Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bump CoreDNS to 1.11.3 #148

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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.2-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.3
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