Black Friday: 60% off yearly plans with code BF2026, until November 30. See the deal

Glossary

Anycast: one address, many locations

Anycast is the practice of making a service address available in multiple, discrete, autonomous locations, so traffic sent to it reaches one of several nodes. The routing system, not the client or DNS, decides which node answers.

The short answer
  • The same address exists at many sites. Routing picks the node.
  • Widely used to add redundancy to DNS, including by root server operators.
  • Availability looks different depending on where you test from.

How is anycast different from unicast?

One address, one destination or many
UnicastAnycast
Address maps toOne serverSeveral nodes in different locations
Who picks the nodeNot applicableThe routing system, based on topology and where traffic enters the network
If one site failsAddress unreachableTraffic can be routed to another node
Load distributionSingle server takes allTypically uneven, but useful for reliability and coarse spreading

Behavior per RFC 4786.

Why anycast complicates monitoring

RFC 4786 notes that observed availability varies by client location, and the client population at each node is not static. A check from one place can pass while another region hits a failing node, so test from several regions.

What are the caveats for TCP services?

  • TCP sessions involve many packets that must reach the same node
  • Per-packet load balancing across neighboring networks can split a session across nodes
  • Routing changes during a long flow can break it in ways more complex than a simple unreachable error
  • Mitigations include ECMP hashing and splitting a session into an anycast setup phase and a non-anycast sustained phase

Common questions

What is anycast used for?

Mainly DNS and CDN-style services. RFC 4786 says anycast has become popular for adding redundancy to DNS, and that several root server operators use it. It gives resilience against a site failing and places a node close to many clients.

Does anycast protect against DDoS?

It can help, because attack traffic is spread across many nodes according to where it enters the network rather than landing on one site. It is one layer of defense and does not replace filtering. Protection depends on each node having enough capacity.

Is anycast the same as a CDN?

No. Anycast is a routing technique. A CDN is a service that caches content on distributed servers. Many CDNs use anycast to steer visitors to a nearby edge, but a CDN can also steer users with DNS-based methods.

Test from several regions

Aepto uptime checks run from 1 to 6 regions depending on plan.