Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!


Shells Virtual Desktop
BMail.ag - Secure Email Service
Server.net
CPLicense.net
VPS Server
Buy VPN
Vultr
VMs for AI
HostDare
HostDare
ReliableSite White-Label Dedicated Hosting for Resellers
InterServer VPS
BMail.ag - Secure Email Service
Best VPN
High-Performance Bare Metal Server Solutions
Karvl.com
Server Mania Cloud Hosting
DataWagon Hosting
AlphaVPS Hosting
Evoxt.com
Clouvider
VPS Hosting with NVMe
Residential IPs in the US & 4G Mobile Proxies in EU & US with Unlimited Bandwidth
ReliableSite White-Label Dedicated Hosting for Resellers
Rabisu - Hosting Solutions
Shells Virtual Desktop
New on LowEndTalk? Please Register and read our Community Rules.

All new Registrations are manually reviewed and approved, so a short delay after registration may occur before your account becomes active.

Apt-get update - Temporary failure resolving

ivanhivanh Member
edited January 2016 in Help

Hi guys, trying to apt-get update but its returning Temporary failure resolving ...

my /etc/resolv.conf

nameserver 8.8.8.8

my /etc/apt/source.list

deb http://ftp.debian.org/debian wheezy main contrib non-free

deb http://security.debian.org wheezy/updates main contrib non-free

Debian 7, IPs are pingable, domains ain't.

Anyone have any suggesting to fix this issue?

Edit: Added error message on request.

root@xxx:# apt-get update
Err http://apt.vestacp.com wheezy Release.gpg
Temporary failure resolving 'apt.vestacp.com'
Err http://security.debian.org wheezy/updates Release.gpg
Temporary failure resolving 'security.debian.org'
Err http://nginx.org wheezy Release.gpg
Temporary failure resolving 'nginx.org'
Err http://ftp.debian.org wheezy Release.gpg
Temporary failure resolving 'ftp.us.debian.org'
Reading package lists... Done
W: Failed to fetch http://ftp.debian.org/debian/dists/wheezy/Release.gpg Temporary failure resolving 'ftp.debian.org'

W: Failed to fetch http://security.debian.org/dists/wheezy/updates/Release.gpg Temporary failure resolving 'security.debian.org'

W: Failed to fetch http://nginx.org/packages/debian/dists/wheezy/Release.gpg Temporary failure resolving 'nginx.org'

W: Failed to fetch http://apt.vestacp.com/wheezy/dists/wheezy/Release.gpg Temporary failure resolving 'apt.vestacp.com'

W: Some index files failed to download. They have been ignored, or old ones used instead.

Comments

  • exception0x876exception0x876 Member, Host Rep, LIR

    post the exact error message?

  • Is the port for DNS resolution opened in your firewall?

  • Try:

    echo "nameserver 208.67.220.220" > /etc/resolv.conf;
    echo "nameserver 8.8.4.4" >> /etc/resolv.conf;
    echo "nameserver 208.67.222.222" >> /etc/resolv.conf;
    echo "nameserver 8.8.8.8" >> /etc/resolv.conf;
    

    Google may not be responding, seen it before. I usually throw 4.2.2.4 at the end, but since they screw with NXDOMAIN responses, not including.

Sign In or Register to comment.