Setting up DNS on a client machine involves two tasks:
Creating the /etc/resolv.conf file, as described in"Creating the resolv.conf File".
Modifying the /etc/nsswitch.conf file, as described in "Enabling a Machine to Use DNS".
If you are setting up DNS service on a host that will function as a DNS server, you also need to set up boot and data files, as described in Chapter 13, Setting Up DNS Servers.