VPN Glossary 183 entries · 2026 ed.

Anycast

No. 007 of 183 Networking
DefinitionAnycast

Anycast is a routing method where the same IP address is announced from many locations, and each user is automatically sent to the nearest one.

§ 01

Definition

With normal (unicast) addressing, one IP belongs to one machine in one place. With anycast, many servers in different cities share an address, and internet routing via BGP delivers each request to the topologically closest server. Public DNS resolvers and CDNs rely heavily on anycast.

§ 02

How it works

Every site announces the same IP prefix through BGP. Routers pick the shortest path according to their routing tables, so a user in Tallinn and a user in Lisbon who query the same address reach different servers. If one site fails, its announcement disappears and traffic flows to the next nearest site.

§ 03

Why it matters

Anycast is why an IP lookup of a public DNS server or CDN address can show a misleading location: the same address is in dozens of places at once. It also matters for DNS privacy, because the resolver you reach is the nearest one, and for VPN DNS, which may use anycast resolvers for speed.