Find the answer to your Linux question:
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 ...
  1. #1
    Just Joined!
    Join Date
    Dec 2009
    Posts
    4

    Sleep time on wget.. (dns problem maybe)

    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 got the same problem on SSH Connect .. but when i changed "use dns = 0" its got ok ..

    help?

  2. #2
    Linux Guru Rubberman's Avatar
    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!

  3. #3
    Just Joined!
    Join Date
    Dec 2009
    Posts
    4
    How can i set the timeout to 0? where can i fond it?
    thanks!

  4. #4
    Linux Guru Rubberman's Avatar
    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!

  5. #5
    Just Joined!
    Join Date
    Dec 2009
    Posts
    4
    Quote Originally Posted by Rubberman View Post
    I think you did that when you changed "use dns=0"... As you said, "it's got ok...".
    =] i set it on the sshd.conf..
    only for the ssh.. but i want t for the all server.. :P

  6. #6
    Just Joined!
    Join Date
    Dec 2009
    Posts
    4
    i have fix the problem.. thanks for the help!

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
...