Add option to set timeout

A command line option would be worth to be able to set manually the timeout if the 60 seconds default timeout, nor the “no timeout” option are acceptable. host provides for instance the -W option and dig proposes a +time=T query option.

Bookmark the permalink.

One Response to Add option to set timeout

  1. Jehan says:

    The current timeout default is 5 seconds.
    The timeout can now be set, both in the Dns.query resolver class and the ring tool.
    A negative timeout means ring wait for a response forever (but there is no infinite retry, which would mean we could try to connect to servers again and again, which would not be good).

Leave a Reply

Your email address will not be published. Required fields are marked *