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.
mattchow_FTNT
Article Id 219170
Description The article describes how to solve the high latency when a FortiGuard DNS server is used.
Scope

FortiGate.

Solution

Starting from firmware version 7.0 onwards, the 'Use FortiGuard Servers' DNS will be using the DNS over TLS by default, but some of the sites will have high latency even unreachable to FortiGuard DNS.

 

Note: In some cases, it shows high latency or unreachable as some known DNS servers don't support DNS over TLS. Some Internet Service Providers (ISPs) still use traditional DNS without encryption.

 

The DNS Protocols will be greyed out on GUI as shown below:

 

mattchow_FTNT_2-1659324441900.png

 

To change the different methods to reach FortiGuard DNS, for example, change default TLS(TCP/853) to DNS (UDP/53), it is possible to change using the CLI command below:

 

config system dns
    set protocol cleartext  <----- Default is dot (DNS over TLS).

end

mattchow_FTNT_3-1659324892208.png

 

Note:
The protocol can be changed via GUI. Switch DNS servers from 'Use FortiGuard Servers' to 'Specify' and the DNS protocols option will be available to choose from.

Screenshot 2025-02-01 141240.png