FortiGate
FortiGate Next Generation Firewall utilizes purpose-built security processors and threat intelligence security services from FortiGuard labs to deliver top-rated protection and high performance, including encrypted traffic.
ssarwan
Staff
Staff
Article Id 189840
Description
This article describes how  to configure the TTL value/hostname-limit for hostname cache entries stored by FortiGate.

Solution
Command syntax.
# (network-visibility) # config system network-visibility
# (network-visibility) set hostname-ttl                    <----- TTL of hostname table entries (60 - 86400)>.
# (network-visibility) set hostname-limit                  <----- Limit of the number of hostname table entries (0 - 50000)>.

The following screenshot shows the default value for hostname TTL/hostname-limit.
# diagnose test application dnsproxy 13                                <----- This command shows the output of hostname cache.





The following screenshot shows the output of hostname TTL/hostname-limit after setting.

To change the default value, use the below command.
# config system network-visibility
# (network-visibility) set hostname-ttl 36000         <----- In this example 36000 seconds is used.
# (network-visibility) set hostname-limit 1000        <----- In this example number hostname entries is limited to 1000.
# (network-visibility) end



Related Articles

Technical Note: How to Configure ‘Network Visibility’ to view the country flags, country name and ho...

Contributors