An administrator needs to verify the current DNS server IP addresses configured on the FortiGate via the CLI. Which command should be used?
Trap 1: execute show dns
Incorrect. Execute commands do not display configuration settings.
Trap 2: diagnose sys dns list
Incorrect. Diagnostic commands are not required for checking static DNS configuration.
Trap 3: show router dns
Incorrect. DNS settings are managed under system settings, not router settings.
- A
execute show dns
Why wrong: Incorrect. Execute commands do not display configuration settings.
- B
get system dns
Correct. get system dns displays the active DNS server configurations.
- C
diagnose sys dns list
Why wrong: Incorrect. Diagnostic commands are not required for checking static DNS configuration.
- D
show router dns
Why wrong: Incorrect. DNS settings are managed under system settings, not router settings.