dnsshow

January 10, 2024

ID 179784

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:

  • nameservers – display the list of DNS servers.
  • search – display the list of search domains.

Example:

> ssh klconfig@10.16.98.17 dnsshow nameservers

> klconfig@10.16.98.17’s password:

10.64.64.5 10.64.16.3

KLCONFIG OK

Specific errors

None.

Did you find this article helpful?
What can we do better?
Thank you for your feedback! You're helping us improve.
Thank you for your feedback! You're helping us improve.