DNCA on RHEL - Configuring DNS

This section provides a brief description of the configuration files for Domain Name Service (DNS), the service that is used to convert between host names and IP addresses. The file /etc/nsswitch.conf controls the use of various system database files and name services. When DNS is enabled by the nsswitch.conf file, the file /etc/resolv.conf controls how the lookups are performed. The changes that you make to these system files take after effect you save your changes to the files.

You can also use the redhat-config-network graphical utility to configure DNS. It is available when the redhat-config-network package is installed. This package and the commands it provides are not available with a minimal RHEL installation.