Great to hear you got things working, BUT.
The /etc/resolv.conf file id the file that will contain a list of nameservers. DNS, Domain Name Server (services). Forgive me if I'm speaking French again, I flunked that in school and can never tell when I speak it or not. Also forgive me if I take a simplistic approach, because I don't know what you do/do not know about this stuff.
Computers work with numbers, not words. People do better with words. Each computer has a numerical address; using IPv4 it consists of 4 octets, which you're used to seeing as xxx.xxx.xxx.xxx
A Domain Name Server, will translate a name (words), into numbers the computer can understand. The /etc/resolv.conf file, conatins a list of numerical addresses for your computer to ask "What's the number address of http://www.foo.com
? that server will then send back a numerical address, so that your computer can find it.
It used to be, that you edited this file directly (and you still can, depending on which distro you're using and/or where you stick the lines in the file). But here is what the begining of my file (from Ubuntu 12.04) says:
# Dynamic resolv.conf(5) file for glibc resolver(3) generated by resolvconf(8)
# DO NOT EDIT THIS FILE BY HAND -- YOUR CHANGES WILL BE OVERWRITTEN
127.0.0.1 is your loopback address, it is an internal address of your computer.
You may just find, that the changes you've made, will not be there the next time you boot. Also unless those addresses you put in there, are valid nameserver addresses, you may discover that you can't go anywhere on the network (internet or otherwise) unless you use a numerical address.
More reading for you,
Hey, if this stuff were easy, then anybody could do it, right?