跳到主要内容

DNS cache

These parameters define the configuration of the DNS cache which is used for the IP-filter.

dnscache.enable

Type: boolean Default: true

Defines if the DNS cache is enabled or not.

dnscache.ttl

Type: integer Default: 300

Defines the time when the DNS records expire (measured in seconds).

dnscache.cachesize

Type: integer Default: 1000

Defines the DNS cache size.

Example

{
"dnscache": {
"enable": true,
"ttl": 300,
"cachesize": 1000
}
}