Question
wget can not resolve on my droplet. I think this problem started when your infrastructure rebooted a while back this year??
below I try to wget to google.com, Ive tried bbc and others but still wget is not able to resolve hosts:
wget http://google.com
–2016-10-21 17:44:10– http://google.com/
Resolving google.com…
These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.
×
hi, no it doesnt, see output:
centos6 ~]$ wget –inet4-only http://google.com
–2016-10-21 20:45:06– http://google.com/
Resolving google.com… failed: Temporary failure in name resolution.
wget: unable to resolve host address âgoogle.comâ
[onyeagbc@centos6 ~]$
and no, DNS resolution does'nt seem to be working.
Ok so what happens when you just
nslookup google.com
there is no nslookup on the server it hasnt been installed and I cant install it because nothing seems to be able to resolve. I tried to install it and go this error:
@centos6 ~]# yum install bind-utils
Loaded plugins: fastestmirror, refresh-packagekit
Setting up Install Process
Determining fastest mirrors
Could not retrieve mirrorlist http://mirrorlist.centos.org/?release=6&arch=x86_6 4&repo=os&infra=stock error was
14: PYCURL ERROR 6 - “Couldn’t resolve host ‘mirrorlist.centos.org’”
Could not retrieve mirrorlist http://mirrorlist.centos.org/?release=6&arch=x86_6 4&repo=extras&infra=stock error was
14: PYCURL ERROR 6 - “Couldn’t resolve host 'mirrorlist.centos.org’”
Could not retrieve mirrorlist http://mirrorlist.centos.org/?release=6&arch=x86_6 4&repo=updates&infra=stock error was
14: PYCURL ERROR 6 - “Couldn’t resolve host 'mirrorlist.centos.org’”