github semihalev/sdns v1.6.2

latest release: v1.6.3
17 hours ago

What's Changed

New Features

  • Add Cache.ForEachEntry() and Cache.ForEach() for iterating cache entries (#452)

Bug Fixes

  • DNSSEC: return SERVFAIL when a signed zone omits RRSIG records (#447)
  • DNSSEC: correctly determine zone security for missing-signature responses by extracting isZoneSecure() and probing the actual delegation point instead of arbitrary internal names, per RFC 4034 §5 and RFC 4035 §5.3.3 (#450)
  • middleware: skip typed-nil handlers in Setup so disabled middlewares (reflex, accesslist, kubernetes, hostsfile, blocklist, etc.) can no longer crash ServeDNS with a nil-pointer dereference on the first request (#455, fixes #453)
  • Fix gosec G118 warning in API server shutdown goroutine
  • Fix gosec G118 and G122 linter warnings

CI / Infrastructure

  • Consolidate GitHub Actions workflows from 8 to 5 (ci.yml, docker.yml, codeql.yml, release.yml, claude.yml)
  • Migrate Docker publish from the retired docker.pkg.github.com to ghcr.io; a single buildx invocation now pushes multi-arch images to both Docker Hub and GHCR
  • Pin GoReleaser CLI to ~> v2 and bump goreleaser-action to v7.1.0 for stable releases
  • All workflows now track go-version: stable, declare least-privilege permissions:, and use concurrency groups
  • Fix gosec linter failures for golangci-lint v2 compatibility

Testing

  • Add fuzz tests for cache, config, blocklist, hostsfile, resolver, doh, and util packages

Dependencies

  • Bump github.com/miekg/dns from 1.1.68 to 1.1.72
  • Bump github.com/quic-go/quic-go from 0.57.1 to 0.59.0
  • Bump k8s.io/{api,apimachinery,client-go} from 0.34.2 to 0.35.4
  • Bump github.com/BurntSushi/toml from 1.5.0 to 1.6.0
  • Bump github.com/spf13/cobra from 1.10.1 to 1.10.2
  • Bump golang.org/x/net from 0.47.0 to 0.53.0
  • Bump golang.org/x/crypto from 0.45.0 to 0.50.0
  • Other dependency updates

New Contributors

Full Changelog: v1.6.1...v1.6.2

Don't miss a new sdns release

NewReleases is sending notifications on new releases.