You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/content/docs/cloudflare-one/policies/gateway/dns-policies/timed-policies.mdx
+8-4Lines changed: 8 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -9,19 +9,23 @@ By default, Cloudflare Gateway policies apply at all times when turned on. Gatew
9
9
10
10
## Time-based policy duration
11
11
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.
12
+
You can use a time-based policy duration to set a specific time frame for the policy to turn on or configure an exact time for the policy to turn off.
13
13
14
14
To set a duration for a DNS policy:
15
15
16
16
1. In [Zero Trust](https://one.dash.cloudflare.com), go to **Gateway** > **Firewall policies** > **DNS**.
17
17
2. Create a new DNS policy or choose an existing policy and select **Edit**.
18
18
3. In **Configure policy settings**, turn on **Set a policy duration**.
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 in your account's time zone for the policy to expire.
19
+
4. Choose _Duration_ and enter a specific amount of time until the policy turns off or choose _Exact end time_ and enter a specific date and time in your account's time zone for the policy to turn off.
20
20
5. Select **Save policy**.
21
21
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**.
22
+
When a policy turns off, it will remain off until you turn it back on.
23
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.
24
+
### Edit policy duration
25
+
26
+
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**.
27
+
28
+
Policies with a set duration will retain their duration when turned off or on. For example, you can create a policy at 12:00 PM and set it to turn off 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 turn off at 6:00 PM, six hours after the original time.
0 commit comments