-
Notifications
You must be signed in to change notification settings - Fork 5.2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
3 changed files
with
26 additions
and
23 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
20 changes: 20 additions & 0 deletions
20
src/content/partials/cloudflare-one/gateway/get-started/create-dns-policy.mdx
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
--- | ||
{} | ||
--- | ||
|
||
import { Render } from "~/components"; | ||
|
||
To create a new DNS policy: | ||
|
||
1. In [Zero Trust](https://one.dash.cloudflare.com/), go to **Gateway** > **Firewall policies**. | ||
2. In the **DNS** tab, select **Add a policy**. | ||
3. Name the policy. | ||
4. Under **Traffic**, build a logical expression that defines the traffic you want to allow or block. | ||
5. Choose an **Action** to take when traffic matches the logical expression. For example, we recommend adding a policy to block all [security categories](/cloudflare-one/policies/gateway/domain-categories/#security-categories): | ||
<Render | ||
file="gateway/policies/block-security-categories" | ||
product="cloudflare-one" | ||
/> | ||
6. Select **Create policy**. | ||
|
||
For more information, refer to [DNS policies](/cloudflare-one/policies/gateway/dns-policies/). |