diff --git a/respodns/dns.py b/respodns/dns.py index 5447454..a5b4a06 100644 --- a/respodns/dns.py +++ b/respodns/dns.py @@ -35,6 +35,9 @@ async def getaddrs(server, domain, opts): if opts.impatient: res.timeout = 5 res.lifetime = 2 + else: + res.timeout = 3 + res.lifetime = 9 res.nameservers = [server] try: ans = await res.resolve(domain, "A", search=False)