Multiple choice technology operating systems

Which command can confirm host name resolution (DNS/BIND) is working correctly?

  1. gethostbyname

  2. hostname

  3. nsquery

  4. whois

Reveal answer Fill a bubble to check yourself
C Correct answer
Explanation

The nsquery command on HP-UX is used to query the name service switch configuration to resolve hostnames and verify that DNS/BIND resolution is working properly.