Ubuntu server 16.04.1 LTS VPS, unable to resolve or ping any hostname or ip
i've a problem with my vps, i can't resolve any hostname and when i try to ping an hostname the server can't resolve it and ping too. i can't do apt get update or anything else that involve a hostname resolving. Can anyone help me? many thanks.
----apt-get update
Err:1 http://
----cat /etc/network/
Auto generated lo interface
auto lo iface lo inet loopback
Auto generated venet0 interface
auto venet0 iface venet0 inet manual up ifconfig venet0 up up ifconfig venet0 127.0.0.2 up route add default dev venet0 down route del default dev venet0 down ifconfig venet0 down
iface venet0 inet6 manual up route -A inet6 add default dev venet0 down route -A inet6 del default dev venet0
auto venet0:0 iface venet0:0 inet static address 23.94.xxx.xxx netmask 255.255.255.255
auto venet0:1 iface venet0:1 inet static address 23.94.xxx.xxx netmask 255.255.255.255
----iptables -L
Chain INPUT (policy ACCEPT) target prot opt source destination
Chain FORWARD (policy ACCEPT) target prot opt source destination
Chain OUTPUT (policy ACCEPT) target prot opt source destination
---ifconfig
lo Link encap:Local Loopback inet addr:127.0.0.1 Mask:255.0.0.0 inet6 addr: ::1/128 Scope:Host UP LOOPBACK RUNNING MTU:65536 Metric:1 RX packets:0 errors:0 dropped:0 overruns:0 frame:0 TX packets:0 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:0 RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)
venet0 Link encap:UNSPEC HWaddr 00-00-00-
venet0:0 Link encap:UNSPEC HWaddr 00-00-00-
venet0:1 Link encap:UNSPEC HWaddr 00-00-00-
Question information
- Language:
- English Edit question
- Status:
- Expired
- For:
- Ubuntu Edit question
- Assignee:
- No assignee Edit question
- Last query:
- Last reply: