SP Get DNS Subcommand

access: All users

Displays the current DNS configuration on the Service Processor:

sp get dns [{-n | --nameserver } | {-s | --searchdomain } |
{-H | --noheader }][{-D | --delim <DELIMITER>}]

Argument Description
{ -n | --nameserver } Displays the name server(s). If there is more than one nameserver, they print on separate lines.
{ -s | --searchdomain } Displays the searchdomain(s). If there is more than one searchdomain, they print on separate lines.
{ -H | --noheader } Suppresses column headings.
{ -D | --delim } Delimits columns with the specified delimiter. Headings are also delimited unless suppressed. The delimiter can be any character or string.

Return Codes

Following are the return values for this command:

Code Numeric Code Description
NWSE_Success 0 Command successfully completed.
NWSE_InvalidUsage 1 Invalid usage: bad parameter usage, conflicting options specified.
NWSE_RPCTimeout 2 Request was issued, but was not serviced by the server. RPC procedure timed out and the request may or may not have been serviced by the server.

Related Topics

System Management Commands

SP Command