This command lets you view information about DNS settings from the file /etc/resolv.conf.
The command returns all entries in one string, separated by a space. If an empty string is returned, the DNS settings are not configured.
Settings
<InfoKind> = nameservers|search – type of information that you want to view. Possible values:
|
Example:
|
Specific errors
None.
Page top