Disable DNS
About this task
To disable DNS lookups:
Procedure
- Edit file
/etc/nsswitch.conf
. - Place a pound sign (
#
) at the beginning of the line that readshosts: files dns
. - After editing, that line must look like the following code:
#hosts: files dns