Due to changes in the LAN router, I had to modify the static IP of one of our servers. It still succeeds in finding the external world (ping google.com
), but only temporarily - when I access one of the websites hosted in that server through a browser, if that website tries to access google.com, for example, ping
stops returning successful requests.
All computers can still ssh into the server, the problem seems to be DNS-related only: the server itself can't connect to the outside through domain names reliably.
/etc/network/interfaces
[...]
# The loopback network interface
auto lo
iface lo inet loopback
# The primary network interface
auto eth1
iface eth1 inet static
address 192.168.0.53
netmask 255.255.255.0
network 192.168.0.1
broadcast 192.168.0.255
gateway 192.168.0.1
dns-nameservers 8.8.8.8 8.8.4.4
/etc/resolv.conf
nameserver 8.8.8.8
nameserver 8.8.4.4
search phub.net.cable.rogers.com
Restarting the networking daemon or even rebooting the computer didn't solve the problem. Also, I don't think that the dhcp daemon is overriding any of those configs, because the problem remains even when I explicitly stop the client.