Health checks

Choose a probe that reflects whether an endpoint can serve traffic. Check how healthy and unhealthy states affect the records returned in new DNS answers.

An endpoint health check
Target
origin.example.com
HTTP probe
GET /health
Expected response
200 OK

Tie endpoint health to record eligibility

Cloud DNS health checks monitor configured endpoints and use that state so non-responsive infrastructure is left out of eligible answers.

Continuous endpoint monitoring

Checks run against the targets you configure, not against a single probe region you forgot.

Answers follow health

GeoDNS and weighted pools can exclude unhealthy endpoints automatically.

Account for resolver caching

A health change affects fresh answers. Resolvers may continue using cached addresses until their lifetime expires.

Configuration

Cloud DNS overview
  1. Choose what to probe

    HTTP, HTTPS or the check type that matches how the endpoint should be considered up.

  2. Attach checks to record sets

    Only endpoints that pass remain eligible.

  3. Set a TTL that matches failure RTO

    A resolver can continue to return a cached address after the endpoint fails a health check.

  4. Alert on check failures

    DNS failover is not a substitute for knowing that a region is down.

Operational outcomes

  • An unhealthy endpoint can be excluded from new answers
  • Geo and weighted policies honour health
  • TTLs can be low enough to matter
  • Operators still see the failure

Frequently asked questions

Can a flapping check cause DNS flaps?

Design check sensitivity so transient blips do not churn answers. Rehearse failure in staging.

Do checks replace APM?

No. Health checks decide DNS eligibility. Application monitoring still explains why a target failed.

What if every endpoint is down?

Plan the empty-set behaviour with Aptranet. Do not assume DNS can invent a healthy target.

Are checks IPv6-capable?

Cloud DNS supports IPv4 and IPv6 records. Probe the addresses you actually publish.