SP Enable DNS Subcommand

Description: Configures the DNS configuration on the SP.

Because applications do not see updated DNS resolver configurations (in /etc/resolv.conf) until they are restarted, this command restarts server processes that depend on DNS. This currently includes the sshd daemon and the Security Manager.

Format

Command format:

sp enable dns { -n --nameserver} NAMESERVER IP… {-s --searchdomain } SEARCH DOMAIN…

TABLE H-8lists the arguments for this subcommand.

TABLE H-8Arguments for Subcommand sp enable dns

Argument

Description

 

 

{-n --nameserver}Displays the nameserver IP-addresses. If there is more than one, the addresses print on separate lines.

{-s --searchdomain} Displays the search domain(s). If there is more than one, the search domains print on separate lines.

Return Codes

TABLE H-9lists the return codes for this subcommand.

TABLE H-9Return Codes for Subcommand sp enable dns

Return Code

ID

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.

NWSE_NoPermission

6

Not authorized to perform this operation.

 

 

 

166 Sun Fire V20z and Sun Fire V40z Servers, Server Management Guide • May, 2004

Page 188
Image 188
Sun Microsystems V20Z, V40z manual SP Enable DNS Subcommand, Table H-8lists the arguments for this subcommand