Anycast is a technique that allows a single IP address to refer to multiple nodes. It works by having routers direct traffic for that address to the nearest available node. This allows services to scale out globally without needing additional IP addresses. Anycast is commonly used for DNS root servers and content delivery networks by routing traffic for a single IP to the closest available server.