The resolv.conf file is the resolver configuration file. It is use to configure client side access to the Internet Domain Name System (DNS). This file defines which name servers to use.
The resolver is a set of routines in the C library that provide access to the Internet Domain Name System (DNS). The resolver configuration file contains information that is read by the resolver routines the first time they are invoked by a process. The file is designed to be human readable and contains a list of keywords with values that provide various types of resolver information
Note: File name is /etc/resolv.conf and not /etc/resolve.conf.
Sample resolv.conf file
nameserver 202.54.1.10nameserver 202.54.1.11