Skip to main content
JNDias
Staff & Editor
Staff & Editor
Apr 17, 2023 9:04 AM UTC

Technical Tip: Clarifying differences between 'diagnose test application dnsproxy 2' information in the CLI and the GUI

  • Apr 24, 2026 3:19 PM UTC
  • 0 replies
  • 4249 views
  • Translate All
Description

This article describes the differences in values returned by the GUI and CLI debugging processes in FortiGate devices. The corresponding CLI command is as follows:

 

diagnose test application dnsproxy 2

Scope

FortiOS 7.2, any supported version of FortiGate.

Solution

See the diagram below for clarification. The numbered points of interest are as follows:

 

  1. The last time the DNS was tested in the local FortiGate (in the date/hour format).
  2. The DNS latency from the last test. (As referred to in points 1 and 4.)
  3. The CLI equivalent of point 2, 'Latency'.
  4. The CLI equivalent of point 1, the last time the DNS was tested or the value was updated. The measurement is in milliseconds.

 

Untitled picture.png

 

The CLI shows a value for latency, which is equal to <GUI value in ms>/10.

For example:

 

diagnose test application dnsproxy 2
....
vfid=0 server=192.168.30.11 latency=13 updated=82
vfid=0 server=96.45.46.46 latency=1 updated=51

 

The GUI displays these values as 130ms and 10ms, which seem to be correct.

 

Related articles:

Risk and Resilience in the Age of AI. An OT Thought Leadership Summit for Houston's Critical Infrastructure Leaders. Date: Thursday, December 3, 2026. Time: 8:30 am - 1:30 pm (CT). Location: The Westin Houston, Memorial City | 945 Gessner Road, Houston, TX 77024