Skip to content

feature: add dns provider#150

Merged
isometry merged 2 commits intomainfrom
feature/provider-dns
Feb 24, 2026
Merged

feature: add dns provider#150
isometry merged 2 commits intomainfrom
feature/provider-dns

Conversation

@isometry
Copy link
Owner

Introduces DNS health check support to the platform-health server, enabling DNS query validation and response inspection as a new provider. The changes include adding the DNS provider implementation, updating build and dependency files, and generating protocol buffer code for DNS details.

DNS Provider Implementation:

  • Added the DNS provider module, including registration in cmd/ph/main.go and cmd/phs/main.go, and comprehensive documentation in pkg/provider/dns/README.md. This enables DNS checks as part of platform-health and explains configuration, CEL checks, and usage. [1] [2] [3]

Protocol Buffer and Build Integration:

  • Added the generated file pkg/platform_health/details/detail_dns.pb.go for DNS detail messages, and updated the Makefile to include DNS proto generation steps. [1] [2] [3]

Dependency Updates:

  • Added github.com/miekg/dns as a direct dependency for DNS functionality, and updated several other dependencies for compatibility and security. Notably, bumped Go version to 1.26.0 and updated google.golang.org/grpc, github.com/clipperhouse/uax29/v2, and indirect dependencies. [1] [2] [3] [4] [5] [6]

Update DNS provider to support SRV, SOA, and PTR record lookups.
Switch config key from kind to type. Add detailed record tests.
Upgrade dependencies and set default timeout.
@isometry isometry enabled auto-merge (squash) February 24, 2026 08:57
@isometry isometry merged commit 40911e0 into main Feb 24, 2026
3 checks passed
@isometry isometry deleted the feature/provider-dns branch February 24, 2026 08:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant