The file /etc/resolv.conf (no trailing 'e') is controlled by your network dns settings. If you change it manually, the changes will only be in effect until the next update or reboot, unless you change your network settings to block that. Sorry, but I don't remember right now what settings need to be changed, but I know I have done that some time in the deep, dark past.... :-) Remember, Google is your friend!
Makhetha, please don't hijack another's thread. Please start your own and we will attempt to answer your question. That said, please provide more information, such as system to connect with, the device you are trying to connect, the operating system you are using, etc.