Block pages
2 min read
Enable the block page for DNS policies
For DNS policies, you will need to enable the block page on a per-policy basis.
- In Zero Trust, go to Gateway > Firewall Policies > DNS.
- Find the policy you want to customize and select Edit. You can only edit the block page for policies with a Block action.
- Under Configure policy settings, go to Display block page. Choose Show a custom message.
- In Custom message, enter a block message to show users.
- Select Save policy.
Gateway will display a custom message in your users’ browsers when they are blocked by this policy.
Customize the block page
You can customize the block page by making global changes that will show up every time a user visits a block page, independently of the type of rule (DNS or HTTP) that is blocking the website.
To apply customizations to your block page:
In Zero Trust, go to Settings > Custom Pages.
Under Block page, enable the custom block page feature.
Select Customize. Available global customizations include:
- Adding your organization’s name
- Adding a logo
- Adding a header text
- Adding a global block message, which will be displayed above the policy-specific block message
- Adding a Mailto link
- Choosing a background color
Select Save.
Users will now get a custom block page when visiting a blocked website.