
1. Open /etc/resolv.conf using vi editor.
# vi /etc/resolv.conf
2. Add DNS server IP into the /etc/resolv.conf.
nameserver xxx.xxx.xxx.xxx nameserver xxx.xxx.xxx.xxx
3. Copy the DNS nsswitch file.
# cp /etc/nsswitch.dns /etc/nsswitch.conf
4. Test your DNS.
# nslookup > www.itsiti.com
