lsdnsserver
Use the lsdnsserver command to list information for any Domain Name System (DNS) servers in the system.
Syntax
Note: This command is not supported by 840 AE1.
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 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
1-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.
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. |
status | Indicates the status of the DNS server. Possible values are: Active, Failed, Untried. |
A concise invocation example
lsdnsserver
The resulting output:
id name type IP_address status
0 dnsserver0 ipv4 9.174.167.254 untried
1 dnsserver1 ipv4 9.174.167.251 active
A detailed invocation example
lsdnsserver 1
The resulting output:
id 1
name DNS2
type ipv4
IP_address 192.168.44.34
status active