Set up address maps

Last updated May 6, 2026 Consider the sections below to learn how to set up address maps.

Note

There is no expected downtime when setting up or updating your address maps.

Create address maps

If you are using BYOIP, refer to the following steps. If you have static IPs, Cloudflare creates an address map during the static IP onboarding process, meaning you may only edit the Cloudflare-created map.

  1. In the Cloudflare dashboard, go to the Address Maps page. Go to Address maps ↗
  2. Select Create an address map.
  3. Choose the scope of the address map.
  4. Add the zones and IP addresses that you want to map.
  5. Name your address map.
  6. Review the information and select Save and Deploy.

Note

Creating an address map does not automatically change DNS configuration. DNS responses only begin to change when a zone or account is added to a map. Additionally, address maps that are not yet enabled will not take effect in DNS responses.

<details>

<summary>

Required API token permissions

</summary>

At least one of the following <a href="https://developers.cloudflare.com/fundamentals/api/reference/permissions/">token permissions</a> is required:

  • <code>Address Maps Write</code>

</details>

Create Address Mapbash

curl "https://api.cloudflare.com/client/v4/accounts/$ACCOUNT_ID/addressing/address_maps" \
    --request POST \
    --header "Authorization: Bearer $CLOUDFLARE_API_TOKEN" \
    --json '{
        "description": "Example address map",
        "enabled": true,
        "ips": [
                "203.0.113.1",
                "203.0.113.2"
        ],
        "memberships": [
                {
                        "identifier": "<ZONE_ID>",
                        "kind": "zone"
                }
        ]
    }'

Note

A zone membership will take priority over an account membership.

Manage address maps

  1. In the Cloudflare dashboard, go to the Address Maps page. Go to Address maps ↗
  2. Go to your address map and select Review.
  3. Edit your address map.
  4. Review the information and select Save.

Note

You can also enable, disable, and delete address maps. This will likely change the IP addresses used for your zones.

Use the following API endpoints depending on what you want to achieve:

Note

A zone membership will take priority over an account membership.

Non-SNI support

If your visitors use devices that have not been updated since 2011, they may not have Server Name Indication (SNI) support. For further context, refer to browser compatibility.

Use address maps to specify a hostname as default SNI. This will be used whenever Cloudflare receives a non-SNI TLS handshake.

Note

Setting up a default SNI is currently only supported via API.

  1. If you have not already, create an address map. Refer to the section above or to the Create Address Map API endpoint.
  2. Take note of the address map id. If needed, you can use the List Address Maps endpoint to get it.
  3. Make sure you add the desired IPs to the address map. Cloudflare will respond with the default SNI on those IPs. Use the dashboard or refer to Add An IP To An Address Map.
  4. Configure the default_sni value on the address map created in step 1. Refer to the Update Address Map API endpoint for details. The default SNI can be any valid domain or subdomain owned by your account.

Spectrum HTTPS applications

Default SNI for Spectrum can only be created via API using the Create Address Map endpoint.

Do not include any membership in your command. Your API command should resemble the following:

<details>

<summary>

Required API token permissions

</summary>

At least one of the following <a href="https://developers.cloudflare.com/fundamentals/api/reference/permissions/">token permissions</a> is required:

  • <code>Address Maps Write</code>

</details>

Create Address Mapbash

curl "https://api.cloudflare.com/client/v4/accounts/$ACCOUNT_ID/addressing/address_maps" \
    --request POST \
    --header "Authorization: Bearer $CLOUDFLARE_API_TOKEN" \
    --json '{
        "description": "default_sni",
        "default_sni": "sni.example.com",
        "enabled": false,
        "ips": [
                "192.0.0.1"
        ],
        "memberships": []
    }'

Was this helpful?

YesNo

On this page

Set up address maps - 图1Docs

{"@context":"https://schema.org","@type":"TechArticle","@id":"https://developers.cloudflare.com/byoip/address-maps/setup/#page","headline":"Set up address maps","description":"Create and configure address maps for your IP prefixes.","url":"https://developers.cloudflare.com/byoip/address-maps/setup/","inLanguage":"en","image":"https://developers.cloudflare.com/byoip/address-maps/setup/og.png?v=29a85a2131605e19","dateModified":"2026-05-06","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/"},"keywords":["DNS"]}


description: In IP address management, service binding refers to the association of IPs to specific Cloudflare services. Review the available options and the API endpoints to set up service bindings. title: IP address service bindings image: https://developers.cloudflare.com/byoip/service-bindings/og.png?v=bfc73f982787b58d


Skip to content

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