Results 1 to 6 of 6
when i use Wget its got like this:
Code:
wget URL/IP
--2009-12-29 21:24:30-- URL/IP
Resolving URL/IP...
now its sleeps for 15 sec '..
and then the download starting ..
i ...
- 12-29-2009 #1Just Joined!
- Join Date
- Dec 2009
- Posts
- 4
Sleep time on wget.. (dns problem maybe)
when i use Wget its got like this:
now its sleeps for 15 sec '..Code:wget URL/IP --2009-12-29 21:24:30-- URL/IP Resolving URL/IP...
and then the download starting ..
i got the same problem on SSH Connect .. but when i changed "use dns = 0" its got ok ..
help?
- 12-29-2009 #2Linux Guru
- Join Date
- Apr 2009
- Location
- I can be found either 40 miles west of Chicago, or in a galaxy far, far away.
- Posts
- 8,974
The DNS lookup has a timeout when accessing the addresses found in /etc/resolv.conf before trying the next one. As you see, changing the timeout to 0 it will switch immediately. Yes, this is a DNS lookup problem, and probably due to a problem with your default dns server.
Sometimes, real fast is almost as good as real time.
Just remember, Semper Gumbi - always be flexible!
- 12-29-2009 #3Just Joined!
- Join Date
- Dec 2009
- Posts
- 4
How can i set the timeout to 0? where can i fond it?
thanks!
- 12-29-2009 #4Linux Guru
- Join Date
- Apr 2009
- Location
- I can be found either 40 miles west of Chicago, or in a galaxy far, far away.
- Posts
- 8,974
I think you did that when you changed "use dns=0"...
As you said, "it's got ok...".
Sometimes, real fast is almost as good as real time.
Just remember, Semper Gumbi - always be flexible!
- 12-29-2009 #5Just Joined!
- Join Date
- Dec 2009
- Posts
- 4
- 12-29-2009 #6Just Joined!
- Join Date
- Dec 2009
- Posts
- 4
i have fix the problem.. thanks for the help!


Reply With Quote
