access: All users
Configures the DNS configuration on the Service Processor. 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.
sp enable dns { -n | --nameserver} NAMESERVER IP {-s | --searchdomain } SEARCH DOMAIN
| Argument | Description |
|---|---|
| { -n | --nameserver} | Displays the nameserver IP addresses. If there is more than one, they print on separate lines. |
| {-s | --searchdomain } | Displays the search domain(s). If there is more than one, they print on separate lines. |
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. |
| NWSE_NoPermission | 6 | Not authorized to perform this operation. |