DNS categories may be user-defined or predefined. You can either create user-defined categories or use predefined categories to filter domain names.
The application scenarios of user-defined categories and predefined categories are as follows:
A large number of common domain names are already added to predefined categories. You can easily manage the accessible and inaccessible domain name categories.
Predefined DNS categories are preset in the system and the same as predefined URL categories. Predefined DNS categories cannot be created, deleted, or renamed. However, you can not add user-defined domain names to the predefined DNS categories.
The predefined categories may not cover new websites. You can create user-defined categories based on special filtering requirements or to enhance predefined DNS categories.
dns-filter category user-defined name category-name
description description
add host host-text
If the device does not have a predefined DNS category database or the predefined DNS category database needs to be updated, you can manually load the predefined DNS category database.
A predefined URL category database takes effect for both URL categories and DNS categories. For detailed configurations, see Key Points for Configuring URL Category-based URL Filtering.
In the user-defined DNS category view, rename an existing user-defined DNS category and display the new user-defined DNS category view.
rename new-name
Clone a predefined DNS category.
dns-filter category user-defined copy old-name [ new-name ]
If new-name is not specified in the command, the name of the new DNS category is the original category name suffixed by _num. _num indicates the number of times the DNS category is cloned.