getdnshostname

The command returns the domain name corresponding to the IP address of the primary network interface.

Settings

None.

Example:

> ssh klconfig@192.0.2.17 getdnshostname

> klconfig@192.0.2.17's password:

testsvm.example.com.

KLCONFIG OK

Specific errors

could not find host interface IP address. Could not get an IP address.

0101 Look up of <address> returned no DNS data. The DNS search returned no data. The DNS server responded, but the relevant types of entries were not detected.

0100 Could not look up <address> in DNS. Failed to find the IP address. Check the DNS settings.

Page top