GeoDNS

Configure regional answers for one hostname and a default for queries outside those regions. Test from representative resolvers before shifting production traffic.

Select endpoint records by resolver location

Cloud DNS GeoDNS returns different records by coordinates, continent, country, ASN, IP or subnet. Health checks can remove endpoints that are down from eligible answers.

More than country steering

Select a geographic or network rule that corresponds to where the application has capacity.

Anycast authoritative DNS

Resolvers reach a nearby authoritative server, including during traffic events.

Health-aware answers

Unhealthy endpoints can be taken out of the eligible GeoDNS set.

Configuration

Cloud DNS overview
  1. Host the zone on Cloud DNS

    Delegate the domain to Aptranet Anycast nameservers.

  2. Define location policies

    Map continents, countries, ASNs or subnets to application endpoints.

  3. Attach health checks

    Remove non-responsive endpoints from the answers resolvers receive.

  4. Use a low TTL while you iterate

    Check the minimum TTL for your service before setting a record TTL.

Operational outcomes

  • Resolvers can receive a nearby endpoint
  • ASN and subnet splits are available
  • Unhealthy targets can be excluded
  • Policy changes propagate quickly

Frequently asked questions

Is GeoDNS based on the user or the resolver?

Authoritative DNS sees the recursive resolver. GeoDNS uses that view, which is usually close to the user but not identical.

Can I combine GeoDNS with weights?

Yes. Weighted load balancing and GeoDNS can be used together depending on the record set.

Does this replace anycast on the application?

No. GeoDNS chooses which endpoint name or address is returned. Application anycast is a separate routing design.

How small can a split be?

Subnet and IP policies support finer splits than continent or country maps.