The name resolution (DNS Server) is configured in the file /etc/resolv.conf file.
Code:
vi /etc/resolv.conf
gedit /etc/resolv.conf
The content of the file is similar to the following:
Code:
search isp.com
nameserver 10.0.0.254
nameserver 202.54.1.10
nameserver 203.22.5.254
The search option is used to complete incomplete host names. For example, if you look up the host name router, the name is automatically completed to the fully qualified domain name router.isp.com.
The nameserver option - Every entry starting with nameserver is followed by an IP address of a name server. You can configure up to 3 name servers. If the first name
server fails, the next one is used.