Quick question here. I have a ubuntu server up and running with a static IP address, no issues there. The problem I'm having is that whenever I reboot the machine it seems to lose it's DNS settings. I can set the DNS settings manually by doing a sudo nano /etc/resolv.conf and manually adding in "nameserver 192.168.1.254" and then DNS begins to work, but for some reason I lose this configuration upon reboot.

How do I get around this?

etech3

10-10-2012 12:44 PM

What have you got in your /etc/network/interfaces file?

Any DNS info in there?

wh33t

10-10-2012 03:41 PM

Hey thanks for chiming in. I've actually managed to get the DNS settings to stick. Turns out you don't set the dns server manually in /etc/resolv.conf anymore (at least not in Ubuntu Server). You set it in the /etc/network/interfaces script. So it's all working now :D