Enable DNS
About this task
To enable DNS lookups:
Procedure
- Edit
/etc/nsswitch.conf
. - Remove any pound signs (
#
) at the beginning of the line that readshosts: files dns
. After editing, that line looks like:hosts: files dns
To enable DNS lookups:
/etc/nsswitch.conf
.#
) at the beginning
of the line that reads hosts: files dns
. After editing,
that line looks like:
hosts: files dns