I have ubuntu server 12.04 LTS . When i fetch something over the internet using wget command. It easily starts when i give address like wget means ip address. it immediately start downloading that thing.

But if i use wget www.google.com/index.html

It takes almost 10-15 seconds to resolve. I think the problem is with dns. It is resolving too late.

Can anyone help me what can be the problem. My server is behind router and on NAT.

migrated from stackoverflow.com Sep 21 '12 at 14:30

This question came from our site for professional and enthusiast programmers.


Why don't you try using google DNS? Use and as your primary DNS, and see whether it works better.

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.