lsdnsserver

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

Syntax

Read syntax diagramSkip visual syntax diagram lsdnsserver dns_namedns_id

Parameters

-delim delimiter
(Optional) Specify a delimiter to separate data in the output.
-nohdr
(Optional) Suppress the headings in the output.
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.
status Indicates the status of the DNS server. Possible values are:
  • active
  • failed
  • untried
  • reachable
  • unresponsive