Ask Ubuntu is a question and answer site for Ubuntu users and developers. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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

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.

share|improve this question

migrated from Sep 21 '12 at 14:30

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

up vote 0 down vote accepted

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

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.