[Cialug] Ubuntu server name resolution!
Sean Flattery
sean.r.flattery at gmail.com
Tue May 17 18:38:26 CDT 2016
Hi Tom,
I've had luck editing the /etc/network/interfaces file when setting static
IPs with DNS. You can enter the same nameserver info in that file you've
been trying with /etc/resolv.conf and that info will get pushed into the
resolv.conf file for you. This will let you keep the changes after a
reboot. Once DNS is working, you'll be able to apt-get update like normal.
For the drive space issue, There's a great Mirrored Raid mailing list
discussion that probably has your answers in a way better way than I could
explain it. Check out the Archives here
http://cialug.org/pipermail/cialug/2016-April/subject.html and see the
Mirrored Raid items. Depending on your file server setup, Zach's writeup
could be exactly what you need
http://cialug.org/pipermail/cialug/2016-April/026064.html. Another possible
solution is Clonezilla which makes cloning disks easy. After cloning a
disk, you'll still need to extend the partition, which can be done with a
variety of tools.
Good luck, and let us know how things go.
Thanks,
Sean Flattery
> Date: Tue, 17 May 2016 15:06:46 -0500
> From: Tom Sellers <tsellers2009 at gmail.com>
> To: cialug at cialug.org
> Subject: [Cialug] Ubuntu server name resolution!
> Message-ID:
> <CAGMb6GRYNHDqTK-LJrPyh=
> MP7a43U2heNwHvmsFtKab9k2JAcA at mail.gmail.com>
> Content-Type: text/plain; charset=UTF-8
>
> I have been using a Ubuntu server 12.04 server for central file storage in
> my home for some time. It was running out of space so I decided to replace
> the drive with a larger one. I first tried to clone the disk which did not
> work out well. Then I decided to simply install fresh which went well
> until i tried to work with an outside site. When I would ping a site like
> www.google.com I would get an unknown host message. Browsing the internet
> I found a suggestion to add nameserver 8.8.8.8 to the top of the
> resolv.conf file. This works briefly but then stops again as the
> resolv.conf file gets overwritten as it says in that file.
>
> In any event I have been unable to get the name resolution to work
> consistently on any long term basis. I am obviously missing something. I
> have looked at the old drive network setup files and have not been able to
> find a difference. The original server was running 12.04.2 and the new
> version is 12.04.5.
>
> Also I am not able to update the system. It tells me when I log in that
> there are 107 security updates but even though it appears to run when I use
> the sudo apt-get update command the next time I boot there are the same
> number of updates.
>
> Anyone have any suggestions to help resolve either of these issues?
>
>
>
More information about the Cialug
mailing list