-1

when I try to wget on Kali Linux OS, I get an error, for example the error is

--2019-03-25 08:22:32--  http://google.com/
Resolving google.com (google.com)...
failed: Temporary failure in name resolution.
wget: unable to resolve host address ‘google.com’

Please help me solve this. Thanks

0

Go to a command prompt and do an nslookup on the wget target node name, e.g., "nslookup (insert FQDN here)". If nslookup is not installed, you may need to install the DNS utilities package.

nslookup should return either the IP address of the target node, or a fairly verbose error detailing why the lookup failed.

Case 1: wget throws an error, nslookup does not: Something fishy is going on if nslookup correctly resolves the IP address but wget claims it can not. Please post a session log.

Case 2: wget throws an error, nslookup does not: There is an issue in DNS resolution in the host system that must be corrected before wget will work.

0

first off, I don't think Kali is the best distro if you're a new user, it will give you many problems.

Regarding your question, can you ping 8.8.8.8 instead?

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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