1.

Why /etc/resolv.conf and /etc/hosts files are used?

Answer»

/etc/resolv.conf: It is used to configure DNS name servers as it contains the DETAILS of the nameserver i.e., details of your DNS server. The DNS server is then used to resolve the hostname of the IP ADDRESS

/etc/hosts: It is used to map or translate any hostname or DOMAIN name to its relevant IP address. 



Discussion

No Comment Found