ONTAP 9.15.1 commands

vserver services access-check dns forward-lookup

Perform DNS forward lookup

Availability: This command is available to cluster administrators at the advanced privilege level.

Description

The vserver services access-check dns forward-lookup returns the IP address of a hostname based on the lookup done on the DNS server specified or the Vserver’s DNS configuration.

Parameters

[-node {<nodename>|local}] - Node (privilege: advanced)

This specifies the name of the node on which the command is executed.

-vserver <vserver> - Vserver (privilege: advanced)

This specifies the name of the Vserver.

-hostname <text> - Hostname (privilege: advanced)

This specifies the hostname to be looked up on the DNS server.

[-lookup-type {ipv4|ipv6|all}] - Lookup Type (default: all) (privilege: advanced)

This specifies the type of IP address to be looked up on the DNS server. If you specify "all", it looks up both IPv4 and IPv6 addresses.

Examples

The following example returns the IPv6 addresses of the hostname "example" in Vserver "vs1" from the node "node2".

cluster1::vserver services access-check*> dns forward-lookup -vserver vs1 -node node2
-domains example.com -name-servers 10.72.46.234 -hostname example -lookup-type ipv6
6ffe::1
3ffe::1
Top of Page