How to Enable Bad Bot Blocking for Vultr CDN Pull Zones

Updated on April 3, 2025

Bad Bot Blocking in Vultr CDN Pull Zones helps protect your site from unwanted bots by filtering out unnecessary traffic. This feature ensures that only legitimate users can access your content, enhancing your site’s security and performance.

Follow this guide to enable the Bad Bot blocking feature for Vultr CDN Pull Zones on your Vultr account using the Vultr Customer Portal, API, or CLI.

  • Vultr Customer Portal
  • Vultr API
  • Vultr CLI
  1. Navigate to Products, click CDN, and then click Pull Zones.
  2. Click your target CDN Pull Zone subscription to open its management page.
  3. Click Features.
  4. Select block_bad_bots and click Update Features.
  1. Send a GET request to the List CDN Pull Zones endpoint and note the target Pull Zone subscription's ID.

    console
    $ curl "https://api.vultr.com/v2/cdns/pull-zones" \
        -X GET \
        -H "Authorization: Bearer ${VULTR_API_KEY}"
    
  2. Send a PUT request to the Update CDN Pull Zone endpoint to enable Bad Bot blocking feature for your target Pull Zone subscription.

    console
    $ curl "https://api.vultr.com/v2/cdns/pull-zones/{pullzone-id}" \
        -X PUT \
        -H "Authorization: Bearer ${VULTR_API_KEY}" \
        -H "Content-Type: application/json" \
        --data '{
            "block_bad_bots": true
        }'
    
  1. List all available CDN Pull Zone subscriptions and note the target Pull Zone subscription's ID.

    console
    $ vultr-cli cdn pull list
    
  2. Enable Bad Bot blocking feature for your target Pull Zone subscription.

    console
    $ vultr-cli cdn pull update <pullzone-id> --block-bad-bots
    

Comments

No comments yet.