Friends--
About Wednesday (that would be November 6, 2013) all of my 12.04 boxes lost connectivity with their nameservers. They still were able to access email and ping by x.x.x.x addresses, but were not able to ping google.com, for instance. I fixed thi issue on the desktops by going to Network Settings > Wired > Options > ipv4 > DNS servers and entered 8.8.8.8, 8.8.4.4 and saved.
But now I cannot update my two headless servers using apt-get. Here is what I tried for /etc/network/interfaces (I tried both ways with dhcp and static for eth0, neither works):
Code:
# This file describes the network interfaces available on your system
# and how to activate them. For more information, see interfaces(5).
# The loopback network interface
auto lo
iface lo inet loopback
# The primary network interface
auto eth0
iface eth0 inet dhcp
#iface eth0 inet static
address 192.168.0.6
netmask 255.255.255.0
gateway 192.168.0.1
dns-nameservers 8.8.8.8 8.8.4.4 68.87.72.130
and here is what route returns:
Code:
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
default 192.168.0.1 0.0.0.0 UG 100 0 0 eth0
192.168.0.0 * 255.255.255.0 U 0 0 0 eth0
less /etc/resolv.conf returns:
Code:
# 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
nameserver 192.168.0.1
nameserver 8.8.8.8
nameserver 8.8.4.4
I have also run sudo dpkg-reconfigure resolvconf
There is nothing in the /base nor in the /head files.
This is a production environment.
These machines were working well for the last year or more until this past week. Perhaps Comcast changed something (seems unlikely since I have connectivity otherwise), or an upgrade changed something.
I am sure that I am probably just missing something obvious to someone who knows about networking and nameservers, which I do not.
How can I get the nameserver (or whatever I need) working? Thanks!
Bookmarks