ARTICLE - CDN, Security & Monitoring

Choosing a DDoS-Protected CDN

Choose a protected CDN by checking protocols, origin access controls and application rules before comparing billing; network-wide capacity is not a guarantee for an individual site.

2026-11-25 16IDC Original 17 views
Advertisement

A DDoS-protected CDN can absorb or filter some attacks at its proxy, but only traffic routed through that entry is protected, and origin access still needs separate restrictions. Check protocols, regions, origin controls and rule capabilities before comparing plans and overage charges. An advertised network-wide capacity is not automatically a commitment for one site.

For where scrubbing sits and how network diversion works, see DDoS architecture design. This article focuses on purchasing and accepting a web edge service.

Screen by attack surface and onboarding conditions

Check What to ask the provider
Traffic entry Whether HTTP/HTTPS, WebSocket, domains and ports are supported; whether other TCP/UDP services need a separate Layer 4 proxy
Protection scope Coverage for network floods and application requests; whether capacity is network-wide, regional or per customer, and contractual commitments and over-limit behavior
Application rules Plan access to WAF, rate limits and bot rules, counting dimensions, actions, logs and false-positive handling
Origin Return addresses, TLS, authentication and health checks; whether shared addresses require account-specific authentication
Regions and cost Actual serving region, domain eligibility, included allowance, overage and upstream egress charges

For example, Tencent Cloud EdgeOne's security documentation says available rules and actions may vary by plan and that Layer 4 DDoS configuration has eligibility conditions. Cloudflare's rate-limiting documentation says counter updates can be delayed, allowing excess requests to reach the origin. These are product-specific statements, not guarantees about other vendors or exact blocking outcomes (both accessed 2026-11-28).

Tencent Cloud's EdgeOne onboarding documentation requires a domain using the mainland China or global availability area to have completed MIIT ICP filing. This is that product's regional onboarding condition; it does not mean every unfiled domain must use one particular provider, nor that filing alone satisfies every legal requirement.

Origin path and bypass controls

The diagram shows that an edge proxy handles only traffic routed through it. The dashed path is unauthorized direct origin access to be blocked through origin access controls and authentication.

Edge protection and origin path Client Edge proxy Origin DNS proxy entry TLS and origin auth Dashed: unauthorized direct origin access Scope: illustrative web proxy, not all protocols
Figure 1: Edge protection and origin path (Source: illustrative web proxy, not measured)

Inspect A, AAAA and CNAME records for web hostnames, and check whether mail, old domains or other services expose the same origin. Historical records can remain discoverable, so rotate exposed origin addresses when necessary; hiding an IP does not replace access controls. Permit provider return ranges and necessary management paths according to its documentation, protect IPv6 separately, and trust client-address headers only from controlled proxies.

For example, Cloudflare's origin protection documentation recommends proxying web records, checking leaks and restricting origin access. Its authenticated origin pulls documentation says the default global certificate is shared across accounts and only establishes that requests come from Cloudflare's network. For account-specific isolation, upload your own zone-level or per-hostname certificate and verify it at the origin as documented. These are provider statements, accessed 2026-11-28.

Compare costs on the same basis

For the same monthly usage, serving regions and protocols, list plan fees, excess traffic and requests, WAF or bot add-ons, origin egress, certificates and support separately. Ask whether blocked attack traffic is billed, how upload and download are measured, what happens at limits and whether alerts and spending caps are available. Contract quotes and billing cycles can differ; a traffic unit price is not the total cost.

A verifiable example: Tencent Cloud EdgeOne overage pricing for the China site, accessed 2026-11-28, lists mainland China Layer 7 excess traffic at CNY ¥0.31/GB in the 0 to less than 2 TB tier and excess HTTP/HTTPS requests at ¥0.05 per 10,000 requests. Personal, Basic and Standard plans settle traffic hourly using progressive tiers over the actual month. Included allowance, region and features such as smart acceleration change the bill. This example excludes plan and other charges and does not apply to other providers.

Verify after onboarding

The following example requires dig and curl on macOS/Linux. Use it only against domains and origins you own or are authorized to test. Replace the domain and IPv4 address with yours and run from an external network outside the origin allowlist. Retain out-of-band administration and the original firewall rules in case a change interrupts service.

DOMAIN="www.example.com"
ORIGIN="192.0.2.10"
dig +short CNAME "$DOMAIN"
dig +short A "$DOMAIN"
dig +short AAAA "$DOMAIN"
curl --noproxy '*' -sS -I --connect-timeout 5 "https://$DOMAIN/"
curl --noproxy '*' -sS -I --connect-timeout 5 --resolve "$DOMAIN:443:$ORIGIN" "https://$DOMAIN/"

Expected: the normal domain request returns the application's expected response and corresponds to an entry in the provider console or edge logs. The direct request retains the domain's Host and TLS SNI; an unauthorized external connection should be refused, time out or be rejected by origin authentication. Check origin logs to establish why. A normal application response warrants inspection of firewall and authentication, but a 403, timeout or TLS error alone does not prove that the entire origin is secure: network, certificate or application issues can produce these results. Check actual IPv6, other ports, management paths and authorized networks separately; do not disable certificate validation to claim success.

Compare dig results with the onboarding mode and the provider's records or IP ownership. No CNAME does not necessarily mean the proxy is inactive: DNS flattening or proxying may return A/AAAA directly, as explained in Cloudflare's proxy status documentation (accessed 2026-11-28). Response headers alone do not prove CDN routing either.

On a test hostname, configure a WAF or rate rule for a test path in observation mode first. Send a small number of authorized requests and compare edge events, rule actions and origin logs; do not expect a fixed status code or exact trigger count. Once false positives are understood, enable blocking gradually and keep a rule rollback method. See WAF rule configuration for rule details.

Boundaries and limitations

  • A protected CDN does not automatically cover DNS-only hostnames, unsupported ports or unproxied protocols; protect those separately.
  • An origin allowlist of shared CDN ranges may admit other customers on the same network. Use dedicated authentication or private connectivity for account-level isolation.
  • Clients, DNS caches and existing connections may not switch together. Monitor during onboarding and rollback and protect the old path.

Frequently asked questions

Does advertised Tbps scrubbing capacity guarantee the same protection for my site?

Not automatically. The number may describe a whole network, one region or another scope, and the capacity may be shared. Ask the provider for written details of regions, attack types, per-customer commitments, over-limit behavior and terms. Check the contract rather than treating a headline capacity as a guarantee.

Is allowing only CDN IP addresses at the origin enough?

Not necessarily. Shared return addresses restrict the network source but do not independently establish that a request belongs to your account. Combine them with a dedicated client certificate or private connection if needed. Keep controlled administration access, check IPv6 and health checks, and update firewall rules from the official address list.

Can a protected CDN replace all application rate limiting?

Not reliably. Edge rule counting and enforcement can have product-specific delays, and users behind a shared egress address can be affected together. For expensive endpoints such as login or search, combine edge events, application logs and capacity when setting limits; observe false positives before progressively enforcing them.

Related Providers

  • Tencent Cloud EdgeOne: for mainland China or global edge onboarding, check filing, plan and billing regions.
  • Cloudflare: for a web edge proxy and origin authentication, check the exact rule and certificate setup.
  • Wangsu: when considering a CDN and security combination, confirm protocols, regions and contract pricing with the provider.

Community & Resources

Original source: 16IDC Original ↗