This article explains how to overcome intermittent website access issues due to DNS latency issues when SD-WAN is configured.
FortiGate, SD-WAN, DNS.
When there is high or inconsistent latency for DNS Servers, the FortiGuard services will be impacted, and in turn, there will be some issues with reaching the websites seamlessly.
The DNS issues directly affect the Web filter profile, due to which, there would be website rating issues that block access to the websites.
Generally, the issues with inconsistent DNS servers will be seen when SD-WAN is configured.
Tweaking the DNS settings on the FortiGate will help resolve this problem.
config system dns
set server-select-method failover
end
This prioritizes the primary DNS server and falls back only on failure.
Alternative: Least-RTT Mode (For Dynamic WANs):
config system dns
set server-select-method least-rtt
end
Automatically selects the lowest-latency server per query. Test both modes during off-peak hours.
Switch between 'failover' and 'least-rtt' in the above DNS settings to check which one works better. To learn more about DNS query sequences, refer to Technical Tip: FortiGate DNS query preference when multiple DNS protocols are enabled.
Note: In the SD-WAN Performance SLA, create an entry with the Ping Protocol for FortiGuard DNS Server IPs or the DNS Server IPs used in the DNS settings.
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.