About nslookup on FortiGate [name resolution]

Firewall (UTM)

Work environment

  • FortiGate-60E
    • version 7.2.1

“nslookup” on FortiGate

There is an nslookup command that can be used for name resolution on Linux, Windows, etc., but this command is not available on FortiGate.

How to test name resolution on FortiGate

To test name resolution on the FortiGate, ping with the domain name as the destination.

For example:

FortiGate-60E # execute ping google.com
PING google.com (142.251.42.142): 56 data bytes
64 bytes from 142.251.42.142: icmp_seq=0 ttl=111 time=39.2 ms
64 bytes from 142.251.42.142: icmp_seq=1 ttl=111 time=34.2 ms
64 bytes from 142.251.42.142: icmp_seq=2 ttl=111 time=25.2 ms
64 bytes from 142.251.42.142: icmp_seq=3 ttl=111 time=33.6 ms
64 bytes from 142.251.42.142: icmp_seq=4 ttl=111 time=35.1 ms

--- google.com ping statistics ---
5 packets transmitted, 5 packets received, 0% packet loss
round-trip min/avg/max = 25.2/33.4/39.2 ms

FortiGate-60E # 

You can confirm that name resolution is successful in the following part of the command output.

PING google.com (142.251.42.142): 56 data bytes


Comments

Ads Blocker Image Powered by Code Help Pro

Ads Blocker Detected!!!

We have detected that you are using extensions to block ads. Please support us by disabling these ads blocker.

Copied title and URL