Chapter 15 Security Profiles : Web filter : Inspections Modes : DNS
  
DNS
The DNS inspection method uses the same categories as the FortiGuard Service. It is lightweight in terms of resource usage because it doesn't involve any proxy-based or flow-based inspection.
A DNS request is typically the first part of any new session to a new website. This inspection method takes advantage of that and places the results of the categorization of websites right on the FortiGuard DNS servers. When the FortiGate resolves a URL, in addition to the IP address of the website it also receives a domain rating.
In the same way that the flow-based inspection method had fewer filters and points of analysis than the proxy-based inspection method, DNS has fewer settings still. All of its inspection is based on the IP address, the domain name and the rating provided by the FortiGuard DNS server.
If the DNS mode is chosen, the additional setting of a DNS action must be chosen. The options are:
Block - The traffic will be blocked and the session dropped.
Redirect - The session will be redirected to a message page indicating to the user what is happening.