ONTAP 9.12.1 commands

50←PDF
  • ONTAP 9.12.1 commands(CA08871-263en.pdf)
  • vserver services name-service dns show

    Display DNS configuration

    Availability: This command is available to cluster and Vserver administrators at the admin privilege level.

    Description

    The vserver services name-service dns show command displays information about DNS server mappings. DNS servers provide remote connection information, such as IP addresses, based on domain and system names.

    Parameters

    { [-fields <fieldname>,…​]

    If you specify the -fields <fieldname>, …​ parameter, the command output also includes the specified field or fields. You can use '-fields ?' to display the fields to specify.

    | [-instance ] }

    If you specify the -instance parameter, the command displays detailed information about all fields.

    [-vserver <vserver name>] - Vserver

    Use this parameter to display information only about the DNS server mapping of the Vservers you specify.

    [-domains <text>,…​] - Domains

    Use this parameter to display information only about the DNS server mappings for Vservers in the domains you specify.

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

    Use this parameter to display information only about DNS server mappings that use the DNS name servers you specify.

    [-timeout <integer>] - Timeout (secs)

    Use this parameter to display information only about DNS server mappings that have the timeout value you specify.

    [-attempts <integer>] - Maximum Attempts

    Use this parameter to display information only about DNS server mappings that make the maximum number of attempts you specify.

    [-is-tld-query-enabled {true|false}] - Is TLD Query Enabled?

    Use this parameter to display information only about DNS server mappings that have the specified TLD query setting.

    [-require-source-address-match {true|false}] - Require Source and Reply IPs to Match

    Use this parameter to display information only about DNS server mappings that have the specified setting to require the source address of the response packet to match the address where the vserver sent the request.

    [-require-packet-query-match {true|false}] - Require Packet Queries to Match

    Use this parameter to display information only about DNS server mappings that have the specified setting to require the query section of the reply packet to match that of the query packet.

    Examples

    The following example shows typical output from the command. Note that cluster1 uses different name servers for example.com.

    cluster1::> vserver services name-service dns show
                                                        Name
    Vserver         Domains                             Servers
    --------------- ----------------------------------- ----------------
    vs1             example.com                         10.0.0.1,
                                                        10.0.0.2
    vs2             example.com, example2.com           10.0.0.1,
                                                        10.0.0.2
    vs3             example.com, example2.com           192.168.0.1,
                                                        192.168.0.2
    Top of Page