A DNS filtering profile defines actions for domain names matching the blacklist, whitelist, user-defined categories, and predefined categories to allow or block access to these domain names.A remote query server is required to use the remote query function.
The prerequisites for querying categories on a remote server are as follows:
The DNS server address is set, and the DNS server can correctly resolve domain name sec.huawei.com.
A security policy has been configured to permit the following user-defined service traffic to pass through the FW:
The priority of a whitelist is higher than that of a blacklist. The application scenarios of the blacklist and whitelist are as follows:
To improve working efficiency of employees and optimize enterprise network bandwidth usage, online behavior of employees needs to be controlled. Employees are not allowed to access entertainment, game, and video websites.
You can configure a domain name blacklist to prevent users from accessing the specified domain names.
Enterprises have special requirements and do not need to filter requests for certain websites.
You can configure a domain name whitelist to allow users to access the specified domain names.
The FW has a default DNS filtering profile named default. In the default profile, the default action for the malicious website category is block, and the default action for other categories is permit. You cannot modify or delete the default profile.
When you reference a profile in a security policy, you can view the name of the default profile in the drop-down list. To view the configuration result, choose . In Current Configuration, you can view that the security policy references the default profile, but the configuration information about the default profile is not displayed.
The FW supports user-defined profiles. You can specify the action for each application category.
The remote query server takes effect for the remote query function of both URL filtering and DNS filtering. For detailed configurations, see Configuring Remote Query Service.
Parameter |
Note |
|---|---|
Name |
Name of the DNS filtering profile |
Description |
Description of a DNS filtering profile The description helps you understand the functions of the DNS filtering profile and maintain this profile. |
Action Mode |
If a domain name belongs to multiple DNS categories, the FW takes an action based on the action mode.
|
Default Action |
If the domain name does not match any blacklist, whitelist, or domain name category in the local cache and the remote query function is unavailable, the FW will take the default action, which is allow, alert, or block.
|
Redirect |
Select Enable to enable redirection. The FW returns the DNS request blocked by DNS filtering to the redirection IP address. By default, the redirection function is disabled. |
Redirect IP Address |
You need to configure this item only after you enable the Redirect function. The FW redirects the DNS request blocked by DNS filtering to the redirection IP address. |
Safe Search |
Select Enable to enable safe search. By default, the pre-defined DNS safe search function is disabled. The safe search function of the FW applies to scenarios where network administrators regulate Internet access behavior and enable safe search for all Internet access users in a unified manner. You can enable the pre-defined DNS safe search function to filter search results of Bing, Google, and YouTube. |
Whitelist |
The FW looks up the domain names in the whitelist for the resolved domain name. If a match is found, the FW permits the DNS request. |
Blacklist |
The FW looks up the domain names in the blacklist for the resolved domain name. If a match is found, the FW blocks the DNS request. In addition, if the redirection function is enabled, the FW redirects the user to a specified IP address. |
Host |
Whitelisted or blacklisted domain name |
DNS Filtering Level NOTE:
DNS filtering level takes effect only on predefined categories. That is, selecting the DNS filtering level does not change the actions for user-defined categories, and setting the actions for user-defined categories does not change the DNS filtering level. The actions for user-defined categories must be manually configured by the administrator. The default action is Allow. |
DNS filtering level is including High, Medium, Low, or User-defined. After you select High, Medium, or Low, the system sets an initial action for each predefined category. High indicates the stricter action, and Low indicates the looser action.
NOTE:
You can also create a user-defined DNS category by clicking Add DNS Category next to the User-defined Category. |
The configuration does not take effect immediately after you create or modify the profile. You must click Commit on the upper right of the interface to apply the configuration. To save time, you can submit the configuration after all operations on the profile are complete.