Sign up ×
Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

I am attempting to install lftp on centos I use the command;

yum install lftp

this is the error i am getting:

Could not retrieve mirrorlist error was
[Errno 4] IOError: <urlopen error (-3, 'Temporary failure in name resolution')>
share|improve this question
Paste in the results of cat /etc/resolv.conf – Wesley Apr 10 '12 at 2:24
nameserver nameserver – arrowill12 Apr 10 '12 at 2:25
Are you using a proxy server for HTTP traffic? – Wesley Apr 10 '12 at 2:27
At a terminal, type host – Wesley Apr 10 '12 at 2:28
connection timed out no server could be reached .... I just used yum the other day not sure why it is doing this – arrowill12 Apr 10 '12 at 2:30

2 Answers 2

up vote 2 down vote accepted

There is a problem with your DNS servers. and are GoDaddy default DNS servers. At the moment, it appears that is not responding properly. I recommend changing your resolv.conf file to use another DNS provider. Perhaps OpenDNS: and


Try temporarily disabling iptables to test if it's a firewall rule:

/etc/init.d/iptables save
/etc/init.d/iptables stop

Test it and then restart the firewall:

/etc/init.d/iptables start

Edit 2

It was an iptables rule causing traffic blockage.

share|improve this answer
this time it gave me this: * atomic: * rpmforge: then the same error as before – arrowill12 Apr 10 '12 at 2:48
could this have to do my my repos – arrowill12 Apr 10 '12 at 2:48
@user1272737 Try yum clean all – Wesley Apr 10 '12 at 2:55
same error now with this after: Error: Cannot find a valid baseurl for repo: addons – arrowill12 Apr 10 '12 at 3:07
@user1272737 Can you ping any internet address by its name? ping or ping What about ip addresses like ping or ping How about wget (just a 100mb file to test connection speed with) – Wesley Apr 10 '12 at 3:20

Check your DNS server/configuration to see if it can resolve the hostname

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.