Fortinet black logo

CLI Reference

execute nslookup

Use this command to perform nslookup queries.

Syntax

execute nslookup name {<fqdn>|<ip>}

<fqdn>

Lookup the IP address for the specified host.

<ip>

Lookup the FQDN for the specified IP address.

Example

FortiADC-VM # execute nslookup name example.com

Non-authoritative answer:

Name: example.com

Address: 93.184.216.34

Use this command to perform nslookup queries.

Syntax

execute nslookup name {<fqdn>|<ip>}

<fqdn>

Lookup the IP address for the specified host.

<ip>

Lookup the FQDN for the specified IP address.

Example

FortiADC-VM # execute nslookup name example.com

Non-authoritative answer:

Name: example.com

Address: 93.184.216.34