NFS Services Administrator's Guide

Troubleshooting NFS Services
Common Problems with NFS
Chapter 8 297
If You Receive an “Unknown Host” or “Not In Hosts
Database” Message
Issue the following command to trace a lookup of the unknown host:
/usr/contrib/bin/nsquery hosts hostname
The trace will indicate which name services (BIND, NIS, NIS+, or
/etc/hosts) were queried and in what order. If your host is not
performing lookups the way you want, see “Configuring the Name
Service Switch on page 267 for instructions on configuring the
Name Service Switch.
If your host is using the /etc/hosts file to resolve hostnames, edit
the file to add or correct the entry for the unknown host. Type man 4
hosts for the correct syntax.
If your host is using NIS to resolve hostnames, see “Common
Problems with NIS” on page 306.
If your host is using NIS+ to resolve hostnames, see “Common
Problems with NIS+” on page 315.
If your host is using BIND (DNS) to resolve hostnames, see
Installing and Administering Internet Services for instructions on
troubleshooting BIND.