I have a debian 8 server running a ruby application. We had a problem with the application so we restarted the server and since then I can't resolve any IP adresse or DNS (beside localhost and the server's own public IP).
Here is what I did so far:
- Tried to ping multiple IPs and DNS but all the packets are lost and no packets received
- Restarted the networking service (both with
sudo service networking restartand
sudo /etc/init.d/networking restart
- Tried Traceroute 220.127.116.11 but all I've got is multiple '*'
- flushed iptables
- restarted the server again
Someone had the same problem before? Any solutions or suggestions?
Here is result for
sudo cat /etc/resolv.conf:
online.net search online.net nameserver 18.104.22.168 nameserver 22.214.171.124
I've tried to change the nameservers to
And here is the results for
source /etc/network/interfaces.d/* # The loopback network interface auto lo iface lo inet loopback # The primary network interface allow-hotplug eth0 iface eth0 inet dhcp
127.0.0.1 localhost # The following lines are desirable for IPv6 capable hosts ::1 localhost ip6-localhost ip6-loopback ff02::1 ip6-allnodes ff02::2 ip6-allrouters
ip a (please note that I changed some numbers to X, Y and Z since I don't know the security implications of giving out the full IPs and mac adresses) :
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group default link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 inet 127.0.0.1/8 scope host lo valid_lft forever preferred_lft forever inet6 ::1/128 scope host valid_lft forever preferred_lft forever 2: eth0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc mq state UP group default qlen 1000 link/ether Y:Y:Y:1b:41:55 brd ff:ff:ff:ff:ff:ff inet X.X.214.212/25 brd X.X.214.255 scope global eth0 valid_lft forever preferred_lft forever inet6 Z::Z:Z:fe1b:4155/64 scope link valid_lft forever preferred_lft forever 3: eth1: <BROADCAST,MULTICAST> mtu 1500 qdisc noop state DOWN group default qlen 1000 link/ether Y:Y:Y:1b:41:56 brd ff:ff:ff:ff:ff:ff
ip r :
default via X.X.214.129 dev eth0 X.X.214.128/25 dev eth0 proto kernel scope link src X.X.214.212