Anycast
One IP address announced from many places at once. The network delivers to whichever site its routing prefers, so no single location belongs to the address.
Updated 19 September 2026 · 8 primary sources
Anycast is the practice of announcing one IP address from many places at once. Each packet goes to whichever site the routing prefers, and the sender cannot tell which one answered. The standard that named the idea appeared in November 1993. It asked for "best effort delivery" to "at least one, and preferably only one" of the servers behind the address.
Routing decides, not geography. The choice follows the paths that networks announce to each other. The site that answers is the nearest one through the network, which is not always the nearest on a map. Root name servers, public DNS resolvers and content networks all work this way.
What an IP lookup says about an anycast address
The thirteen root name server names answer from 1,603 sites. That is part of the 2,045 instances the root server system counted on 19 September 2026. Our own IP lookup returns exactly one country for each of those addresses, because that is all a lookup can do.
Two answers show what that is worth. It places b.root-servers.net in Uruguay, where the registry that manages the block sits. The block's owner is listed as B-Root OPS in the United States. It places ICANN's l.root-servers.net in Islamabad, which is a real site of that address, and one of its 137. Public resolvers fare no better: 1.1.1.1 comes back as South Brisbane, the address in the registry record that also says the block is "Routed globally".
| Root server | Sites | Our lookup says |
|---|---|---|
| a.root-servers.net | 56 | United States |
| b.root-servers.net | 6 | Uruguay |
| c.root-servers.net | 13 | United States |
| d.root-servers.net | 231 | United States |
| e.root-servers.net | 328 | United States |
| f.root-servers.net | 386 | United States |
| g.root-servers.net | 6 | United States |
| h.root-servers.net | 12 | United States |
| i.root-servers.net | 92 | Sweden |
| j.root-servers.net | 147 | United States |
| k.root-servers.net | 159 | Netherlands |
| l.root-servers.net | 137 | Pakistan, Islamabad |
| m.root-servers.net | 30 | Japan |
Where anycast came from
The idea was written down in November 1993, when finding a nearby server meant reading a list of them. The proposal suggested one address for the file search service of the day, so that anyone could reach the nearest copy without choosing. It described an experiment rather than a protocol, because the routing system already had everything it needed.
Operators then built the practice around it. The IETF's guide of December 2006 defines anycast as "making a Service Address available to a routing system at Anycast Nodes in two or more discrete locations". It warns that availability now "changes according to the location of the client". A review of January 2014 set out what the architecture can and cannot promise.
Anycast and proxies
An anycast address tells you nothing about where a service is. Reading a geolocation database for one, or a registry record, gives one place out of hundreds. That is worth remembering whenever a target's address is checked before a job.
Which site answers depends on where your proxy exits. Two proxies in different countries reach different data centres of the same service, with different caches and sometimes different content, although the address is identical. Testing through the proxy you will use answers that question; the address alone does not.
Proxy exits themselves are ordinary addresses announced from one place. Anycast suits short, stateless exchanges such as DNS queries, and the IETF guide names long transactions as one of its limits. There is also a quieter trap. If your client resolves names through a public anycast resolver, the answer can be chosen for the resolver's site rather than for the proxy.
How HProxy handles it
Our IP lookup reports one country per address, anycast included, because that is what a database can hold. For a target behind a content network, test through the proxy you will use rather than trusting the address alone.
Frequently asked questions
What is anycast?
One IP address announced from many places at once. The routing system sends each packet to the site it prefers, so many servers share one address and the sender cannot tell which answered.
How does anycast work?
Every site announces the same address to its neighbours, and routers pick a path as they do for any other address. The winner is the nearest site through the network, which depends on the paths networks announce to each other.
What is the difference between anycast and unicast?
A unicast address belongs to one machine in one place. An anycast address is announced from several places, and the network picks one of them for each packet.
Can I find out where an anycast address is?
Not really. A lookup returns one place, which may be the registry's country or one site among many. The thirteen root name servers answer from 1,603 sites, and our own lookup gives each of them a single country.
Why is 1.1.1.1 shown in Australia?
Because its registry record carries an Australian address, from the research arm that manages the block. The same record says it is routed globally, and the service answers from hundreds of cities.
Do proxies use anycast?
Proxy exits are ordinary addresses announced from one place, so a site can judge them by their network and location. Anycast is used for services such as DNS and content networks, where short exchanges suit it.
Does anycast change what a proxy sees?
Yes. The site that answers depends on where the proxy exits. The same address can serve different data centres, caches and sometimes different content to two proxies in different countries.
Sources
- RFC 1546: Host Anycasting Service, IETF (IRTF), C. Partridge, T. Mendez, W. Milliken, 1993-11.
- RFC 4786: Operation of Anycast Services (BCP 126), IETF, J. Abley, K. Lindqvist, 2006-12.
- RFC 7094: Architectural Considerations of IP Anycast, IETF, D. McPherson, D. Oran, D. Thaler, 2014-01.
- RFC 7871: Client Subnet in DNS Queries, IETF, C. Contavalli et al., 2016-05.
- Root server system: operators, sites and instances, root-servers.org, 2026-09-19.
- IANA root hints file (named.root), InterNIC / IANA, 2026-09-19.
- Registry records for 1.1.1.1, 170.247.170.2 and 199.7.83.42, APNIC, LACNIC, ARIN (whois), 2026-09-19.
- What our IP lookup says about the thirteen root servers, HProxy measurement, 2026-09-19.
Back to the full glossary.