config dnsfilter profile
Description: Configure the DNS filter profile.
config dnsfilter profile
edit <name>
config domain-filter
set domain-filter-table <name>
end
set block-action [block| redirect | block-servfail]
set block-botnet [enable | disable]
set safe-search [enable | disable]
set youtube-restrict [strict | moderate]
set redirect-portal {ipv4-address}
next
end
| Parametrer | Description | Type | Size | Default | ||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
block-action |
Action to take for blocked domains. |
option |
- |
|
||||||||
|
|
|
|||||||||||
|
block-botnet |
Enable/disable blocking botnet C&C DNS lookups. |
option |
|
disabled |
||||||||
|
|
|
|||||||||||
|
safe-search |
Enable/disable Google, Bing, YouTube, Qwant, DuckDuckGo safe search. |
option |
|
disabled |
||||||||
|
|
|
|||||||||||
|
youtube-restrict |
When |
option |
|
disabled |
||||||||
|
|
|
|||||||||||
|
redirect-portal |
Enter the IP address of the SDNS redirect portal |
ip-address |
|
0.0.0.0 |
||||||||
config domain filter
| Parameter | Description |
Type |
Size |
Default |
|
|---|---|---|---|---|---|
|
domain-filter |
Configure the domain-filter-table parameter to apply a previously created domain filter to this profile. |
table |
- |
|
|
|
|
domain-filter-table |
Enter the domain filter name. |
string |
- |
|