ONTAP 9.12.1 commands

50←PDF
  • ONTAP 9.12.1 commands(CA08871-263en.pdf)
  • vserver services access-check dns srv-lookup

    Perform DNS lookup for SRV records

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

    Description

    The vserver services access-check dns srv-lookup returns the IP addresses of a host that is providing the specified service in the network, based on the SRV record lookup done on the Vserver’s DNS server.

    Parameters

    [-node {<nodename>|local}] - Node

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

    -vserver <vserver> - Vserver

    This specifies the name of the Vserver.

    [-name-servers <IP Address>,…​] - Name Servers

    This specifies the DNS servers in which the hostname lookup needs to be done.

    -lookup-string <text> - Name to Lookup For

    This specifies the complete string for which SRV record needs to be looked up on the DNS server.

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

    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. The lookup string must be in the form “service.protocol.domain”.

    Examples

    The following example returns the IPv6 addresses of the host providing "http" service on "tcp" protcocol in Vserver "vs1" from the node "node2".

    cluster1::vserver services access-check*> dns srv-lookup -vserver vs1 -node node2
    -lookup-string _http._tcp.nw7.na -lookup-type ipv6
    9ffe::1
    5ffe::1
    Top of Page