Created on 07-15-2025 02:39 AM Edited on 07-22-2025 10:00 AM
Description | This article explains how FortiGate calculates DNS latency for its configured system DNS servers. |
Scope | FortiGate. |
Solution |
As part of measuring latency to system DNS servers, FortiGate adds a penalty if a DNS request needs to be retired, signaling that the server may be slow or unresponsive.
Instead of simply marking the server as failed, FortiGate adjusts the Round Trip Time (RTT) upward using a penalty value of 1495 jiffies. This value is applied through a weighted formula, not as a hard replacement, which allows the system to gradually phase out underperforming DNS servers.
When a retransmission occurs, FortiGate assumes a worst-case delay and calculates a new RTT sample. This makes the new response time mostly based on the penalty value, which simulates a long delay, like a timeout. FortiGate then combines this with the previous response time to update the overall average. The result is a noticeable increase in RTT, discouraging the use of that DNS server without immediately removing it from the pool.
Therefore, the high DNS latency values shown in FortiGate may not be the actual network delays, but rather the outcome of its internal calculation process.
Related article: |
The Fortinet Security Fabric brings together the concepts of convergence and consolidation to provide comprehensive cybersecurity protection for all users, devices, and applications and across all network edges.
Copyright 2025 Fortinet, Inc. All Rights Reserved.