dnsshow

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:

> ssh klconfig@192.0.2.17 dnsshow nameservers

> klconfig@192.0.2.17's password:

192.0.2.45 198.51.100.7

KLCONFIG OK

Specific errors

None.

Page top