DNS traffic steering

Choose the endpoints eligible for new DNS answers, set regional preferences and define a fallback. Test the result from resolvers in each target region.

Choosing a DNS answer
Input
Resolver location
Policy
Select healthy regional targets
Response
Return eligible address

Combine geography, weights and health

Combine GeoDNS, weights, subnet policies and health checks on Cloud DNS so each resolver receives the endpoint you intended, on Anycast authority.

Policy before the handshake

Location, ASN, subnet and weight can all shape the answer.

Health is part of policy

A target that fails checks leaves the eligible set.

Change the map quickly

Schedule regional changes around the previous TTL and health-check interval. Verify the new DNS answers and the resulting application traffic.

Configuration

Cloud DNS overview
  1. Describe the intended map

    Which resolvers should reach which endpoints, and under what health.

  2. Encode it as GeoDNS, weights or subnets

    Use the coarsest policy that meets the requirement.

  3. Attach health checks

    Policy without health still points at outages.

  4. Rehearse a policy change

    Lower TTLs, change a weight, and confirm resolvers move.

Operational outcomes

  • Answers follow a documented map
  • Canaries and evacuations are DNS operations
  • Unhealthy targets are excluded
  • Authority remains Anycast

Frequently asked questions

Is this latency-based routing?

GeoDNS by coordinates, continent or country approximates nearby endpoints. It is not a per-user RTT measurement.

Can I steer only a subset of records?

Yes. Apply policy to the record sets that need it. Leave MX and static records simple.

Does steering replace Cloud CDN GeoDNS?

They compose. Cloud CDN uses Anycast and GeoDNS for delivery. Cloud DNS steers hostnames you host authoritatively.

How do I avoid policy surprises?

Test from multiple resolver locations and document fallbacks when no geo rule matches.