Global traffic steering

Last updated Sep 10, 2026 Global traffic steering policies decide how a load balancer routes traffic to attached and healthy pools.

EDNS Client Subnet (ECS) support

EDNS Client Subnet (ECS) support provides customers with more control over location-based steering during gray-clouded DNS resolutions and can be used for proximity or geo (country) steering.

Customers can configure their load balancer using the location_strategy parameter, which includes the properties prefer_ecs and mode.

prefer_ecs determines whether the ECS geolocation should be preferred as the authoritative location.

Type Description
"always" Always prefers ECS.
"never" Never prefers ECS.
"proximity" Prefers ECS only when steering_policy="proximity".
"geo" Prefers ECS only when steering_policy="geo" and only supports country-level steering.

mode determines the authoritative location when ECS is not preferred, does not exist in the request, or its geolocation lookup is unsuccessful.

Type Description
"pop" Uses the Cloudflare PoP location.
"resolver_ip" Uses the DNS resolver geolocation data. If the geolocation lookup is unsuccessful, it uses the Cloudflare PoP location.

Note

ECS support applies to DNS-only load balancers.

Was this helpful?

YesNo

On this page

Global traffic steering - 图1Docs

{"@context":"https://schema.org","@type":"WebPage","@id":"https://developers.cloudflare.com/load-balancing/understand-basics/traffic-steering/steering-policies/#page","headline":"Global traffic steering","description":"Policies that control how traffic is distributed across pools.","url":"https://developers.cloudflare.com/load-balancing/understand-basics/traffic-steering/steering-policies/","inLanguage":"en","image":"https://developers.cloudflare.com/load-balancing/understand-basics/traffic-steering/steering-policies/og.png?v=03feae17e39b2c96","dateModified":"2026-09-10","publisher":{"@type":"Organization","name":"Cloudflare","description":"One platform for your apps, agents, and workforce. Build, secure, and scale without managing infrastructure","url":"https://www.cloudflare.com/","sameAs":["https://github.com/cloudflare","https://www.linkedin.com/company/cloudflare","https://x.com/cloudflare"],"logo":{"@type":"ImageObject","url":"https://developers.cloudflare.com/logo.svg"},"address":{"@type":"PostalAddress","streetAddress":"101 Townsend St","addressLocality":"San Francisco","addressRegion":"CA","postalCode":"94107","addressCountry":"US"},"contactPoint":[{"@type":"ContactPoint","contactType":"Customer Support","url":"https://support.cloudflare.com/","availableLanguage":["English"]},{"@type":"ContactPoint","contactType":"Sales","url":"https://www.cloudflare.com/contact/","availableLanguage":["English"]}]},"isPartOf":{"@type":"WebSite","@id":"https://developers.cloudflare.com/#website","name":"Cloudflare Docs","url":"https://developers.cloudflare.com/"}}


description: Route traffic to the fastest pool based on health check latency. title: Dynamic image: https://developers.cloudflare.com/load-balancing/understand-basics/traffic-steering/steering-policies/dynamic-steering/og.png?v=4e861706fdec9157


Skip to content

Documentation Index
Fetch the complete documentation index at: https://developers.cloudflare.com/load-balancing/llms.txt
Use this file to discover all available pages before exploring further.