I have a computer setup running ubuntu server 12.04, with a static ip, and every time I reboot it, it loses it's ability to do dns lookups. The only way I can fix this is by changing the etc/resolv.conf file and adding custom dns servers to it. Though as stated earlier, upon reboot, this file reverts to default, and my server can no longer do dns lookups. I've googled, and found one fix that said to do some chattr command, but that just gives me the error "chattr: Operation not supported while reading flags on resolv.conf". There was also another fix that said to add the dns servers to a file in the folder etc/dhcp3. The problem with that fix is, that folder doesn't even exist. Is there some place else that I can add custom dns servers that will persist between reboots.
Exact commands would be very helpful, because I am still a linux newb, and am still learning the terminal.