System Administration Guide: Naming and Directory Services (DNS, NIS, and LDAP)

Enabling DNS

If you want to enable DNS by setting up a /etc/resolv.conf file, add DNS to your hosts lines as shown below.


hosts:      ldap dns [NOTFOUND=return] files