Enable DNS

About this task

To enable DNS lookups:

Procedure

  1. Edit /etc/nsswitch.conf.
  2. Remove any pound signs (#) at the beginning of the line that reads hosts: files dns. After editing, that line looks like:
    
    hosts: files dns