lsdnsserver

Use the lsdnsserver command to list information for any Domain Name System (DNS) servers in the clustered system (system).

Syntax

Read syntax diagramSkip visual syntax diagram
>>- lsdnsserver -- --+-----------------------+-- --------------->
                     '- -delim -- delimiter -'      

>--+----------+-- --+------------+-- --------------------------><
   '- -nohdr -'     +- dns_name -+      
                    '- dns_id ---'      

Parameters

-delim delimiter
(Optional) By default in a concise view, all columns of data are space-separated. The width of each column is set to the maximum possible width of each item of data. In a detailed view, each item of data has its own row, and if the headers are displayed, the data is separated from the header by a space. The -delim parameter overrides this behavior. Valid input for the -delim parameter is a one-byte character. If you enter -delim : on the command line, the colon character (:) separates all items of data in a concise view; for example, the spacing of columns does not occur. In a detailed view, the data is separated from its header by the specified delimiter.
-nohdr
(Optional) By default, headings are displayed for each column of data in a concise style view, and for each item of data in a detailed style view. The -nohdr parameter suppresses the display of these headings.
Note: If there is no data to be displayed, headings are not displayed.
dns_name | dns_id
(Optional) Specifies the DNS server name or ID for which to display details. The value for the ID must be a number and the value for the name must be an alphanumeric string.

Description

This command lists information for any DNS servers in the system.

This value provides the attribute values that can be displayed as output view data.
Table 1. lsdnsserver output
Attribute Description
id Indicates the DNS server ID. The value must be a number.
name Indicates the DNS server name. The value must be an alphanumeric string.
type Indicates the DNS server Internet Protocol (IP) address type. The value must be a standard IPv4 or IPv6 address.
IP_address Indicates the IP address of the DNS server. The value must be a standard IPv4 or IPv6 address.

A concise invocation example

lsdnsserver

The resulting output:

 id                   name                type                IP_address
 0                    DNS1                ipv6                2801:0000:0000:0000:0000:0000:0000:0100
 1                    DNS2                ipv4                192.168.44.34

A detailed invocation example

lsdnsserver 1

The resulting output:

  id 1
  name DNS2
  type ipv4
  IP_address 192.168.44.34