Description
This article describes how to resolve a hostname to the IP address from the FortiGate CLI.
Scope
For all supported Fortios versions from v6.2.x to v7.6.x.
Solution
PING mylabdomain.com ( 172.31.1.1 ) : 56 data bytes
64 bytes from 172.31.1.1: icmp_seq=0 ttl=245 time=75.4 ms
FGT # execute traceroute mylabdomain.com
traceroute to mylabdomain.com ( 172.31.1.1 ), 32 hops max, 72 byte packets
1 172.31.1.1 0 ms 0 ms 0 ms
If the resolution does not work, refer to:
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 2024 Fortinet, Inc. All Rights Reserved.