Cubis Engineers

Cloudflare for Web Infrastructure

Use Cloudflare DNS, reverse proxy, edge security, and Tunnel with clear trust boundaries.

NetworkingIntermediateUpdated Aug 13, 2026cloudflarednsreverse-proxysecurityzero-trust

Cloudflare can provide authoritative DNS, proxy public web traffic, apply edge security controls, and connect services without opening inbound ports. These are separate capabilities. Configure and verify each one explicitly.

Terminal
public web request
  └─ authoritative DNS
       └─ Cloudflare edge: TLS → DDoS → WAF → cache
            └─ restricted origin or outbound Tunnel
                 └─ application

private user
  └─ identity + device context
       └─ Access policy
            └─ Tunnel → private service

Learning path

Know which control is active

CapabilityWhat it doesWhat it does not prove
Authoritative DNSAnswers queries for the zoneTraffic passes through Cloudflare
Proxied recordRoutes eligible web traffic through CloudflareThe origin rejects direct traffic
WAFEvaluates matching HTTP requestsThe application has no vulnerabilities
DDoS protectionDetects and mitigates attack traffic at the edgeThe origin cannot be reached directly
TunnelConnects Cloudflare to a service over outbound connectionsA user is authorized to access it
AccessApplies identity and device-aware policyThe application’s own authorization is correct
  1. Proxy eligible public web hostnames; keep mail, verification, and unsupported services DNS-only.
  2. Use Full (strict) TLS with a valid certificate at the origin.
  3. Restrict the origin to Cloudflare traffic, or remove public ingress by using Tunnel.
  4. Enable an appropriate managed WAF ruleset and review its events before adding exceptions.
  5. Add rate limits for login, authentication, expensive search, upload, and API paths based on normal traffic.
  6. Put internal applications behind Access policies or private-network routes; do not publish them first and add identity later.
  7. Alert on origin errors, security events, tunnel health, DNS changes, and policy changes.
  8. Keep a tested path to the origin for incident response that does not bypass normal authorization.

The edge is one layer

Cloudflare reduces exposure and absorbs traffic before it reaches your service. Keep application authentication, authorization, input validation, patching, logging, backups, and incident response in place.

References

On this page