FQDN filtering

Egress FQDN Filtering in the Cloud

How egress FQDN filtering differs from URL category filtering, when to use each, and why hostname rules are the right control for cloud workloads.

Two filtering approaches get conflated in cloud security: egress FQDN filtering and URL category-based filtering. They solve different problems for different environments. For cloud workloads with predictable destinations, FQDN filtering is almost always the right tool — here is why.

Nature of the control

Egress FQDN filtering

FQDN filtering controls outbound traffic by specific hostname. It fits environments where workloads talk to well-defined destinations. A payments service on AWS might need to reach only api.paymentsgateway.com and analytics.financedata.com; you allow exactly those and deny everything else, sharply reducing the risk of exfiltration or accidental connections to unknown endpoints.

It is the natural fit for API integrations. An application on Azure that should only ever talk to Salesforce and Microsoft Dynamics 365 can be pinned to those hostnames, so a misconfiguration or a compromise cannot quietly reach somewhere else.

URL category-based filtering

URL category filtering groups domains into buckets — “Social Media”, “Gaming”, “Streaming”, “Malware” — and applies allow/deny rules to whole categories. It suits general web browsing, where the set of destinations is large and unpredictable. A corporate network might block “Streaming Media” to preserve bandwidth, or “Adult Content” and “Phishing” for policy and safety, without maintaining a per-domain list.

Use-case scenarios

FQDN filtering for cloud services. A logistics platform on Google Cloud that must reach only its shipment-tracking API and an analytics service can allow just trackingapi.logistics.com and data.analyticsplatform.com. DevOps teams use the same approach to pin Kubernetes clusters to approved image registries and external APIs, which also helps with compliance and audit.

URL category filtering for end-user computing. On shared workstations or virtual desktops, category filtering manages user behaviour — blocking “Gambling” or “Adult Content” for policy compliance — without IT maintaining a detailed allowlist for thousands of users.

Precision vs. flexibility

FQDN filtering is precise: allow a short list of known hostnames and everything else is denied by default. That tight posture is exactly what cloud workloads want, because their legitimate destinations are knowable in advance.

URL category filtering trades precision for flexibility. Blocking a whole category covers a broad, shifting set of sites in one rule — ideal when you are governing diverse human browsing, weaker when you need to guarantee a workload only ever reaches three endpoints.

Which fits where

Egress FQDN filteringURL category filtering
Best forCloud workloads, APIs, microservicesEnd-user browsing, VDI
DestinationsKnown, predictableBroad, unpredictable
PrecisionHigh — explicit allowlistLower — whole categories
MaintenanceSmall, specific rule setCategory subscriptions

Doing it without breaking TLS

The hard part of cloud FQDN filtering is enforcing it without sitting in the middle of every encrypted connection. Enforza filters on the hostname presented during connection setup, so it can allow or deny by FQDN without terminating or decrypting the session. You get precise egress control without the latency, cost, and operational weight of full TLS interception — and it runs on flat per-firewall pricing with no per-GB data-processing fee.

See the features page for the egress and object-manager capabilities, or Traffic Flows in the Cloud for where egress fits among the other flows.

Conclusion

For cloud-native applications and services, egress FQDN filtering provides the precision and predictability you want — pin workloads to the hostnames they legitimately need and deny the rest. For governing broad human web browsing, URL category filtering is the more flexible tool. Match the approach to the environment, and for cloud workloads that almost always means FQDN.

← Back to all articles
Same features. Without the cost.

Ditch the data-processing charges.

Flat, per-firewall pricing — and no per-GB data-processing charges, ever. The same egress filtering, identity-aware L7 and NAT, in any cloud or on-prem. Start free, no card.