Skip to content

Commit 07e4f2d

Browse files
committed
Add time duration example
1 parent fca91ef commit 07e4f2d

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

src/content/docs/cloudflare-one/policies/gateway/dns-policies/timed-policies.mdx

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,17 +9,19 @@ By default, Cloudflare Gateway policies apply at all times when turned on. Gatew
99

1010
## Time-based policy duration
1111

12-
You can use a time-based policy duration to set a specific time frame for the policy to be active or configure a specific time for the policy to expire. With _Duration_, you can set a policy to turn on for a specific amount of time. With _Exact end time_, you can define a specific time for the policy to expire.
12+
You can use a time-based policy duration to set a specific time frame for the policy to be active or configure a specific time for the policy to expire.
1313

1414
To set a duration for a DNS policy:
1515

1616
1. In [Zero Trust](https://one.dash.cloudflare.com), go to **Gateway** > **Firewall policies** > **DNS**.
1717
2. Create a new DNS policy or choose an existing policy and select **Edit**.
1818
3. In **Configure policy settings**, turn on **Set a policy duration**.
19-
4. Choose _Duration_ and enter a specific amount of time or choose _Exact end time_ and enter a specific date and time to end.
19+
4. Choose _Duration_ and enter a specific amount of time until the policy expires or choose _Exact end time_ and enter a specific date and time for the policy to expire.
2020
5. Select **Save policy**.
2121

22-
When a policy expires, it will remain inactive until turned back on. You can reset the policy duration, which will turn the policy back on for the set time duration.
22+
When a policy expires, it will remain inactive until you turn it back on. You can reset the policy duration, which will turn the policy back on for the set time duration. To reset a policy's duration, select the policy and choose **Reset policy duration**.
23+
24+
Policies with a set duration will retain their duration through activation. For example, you can create a policy at 12:00 PM and set it to expire after six hours. If you turn the policy off at 3:00 PM and turn it back on 4:00 PM, the policy will still expire at 6:00 PM, six hours after the original time.
2325

2426
## Scheduled policies
2527

0 commit comments

Comments
 (0)