ogham / dog

A command-line DNS client.
https://dns.lookup.dog/
European Union Public License 1.2
6.1k stars 172 forks source link

How to set a timeout #87

Open phpiscute opened 2 years ago

phpiscute commented 2 years ago

some domain don't have dns record, query dns by dog could hang.

gabe9 commented 2 years ago

Having the same issue.

dog gmr.com A --> Status: Server Failure ✔ dog gmr.com AAAA --> no output, hangs... ❌

Any ideas or workarounds?

Thanks,

lasertiger commented 2 years ago

This occurs for me as well. Hanging is not good. Timeout option?

user9931 commented 1 year ago

any hope? especially on windows that doesnot have unix timeout utility (its's timeout(.exe) are more like sleep in unix (if someone's find it by search, there's busybox for windows that have unix's timeout)

fcoiffier commented 1 year ago

any hope? especially on windows that doesnot have unix timeout utility (its's timeout(.exe) are more like sleep in unix (if someone's find it by search, there's busybox for windows that have unix's timeout)

You may try this branch (but you must compile it) : https://github.com/fcoiffier/dog/tree/feature/timeout-option