tungd / elixir-dns

DNS library for Elixir
BSD 3-Clause "New" or "Revised" License
114 stars 37 forks source link

Timeout error with default timeout value #60

Open AntoineAugusti opened 6 months ago

AntoineAugusti commented 6 months ago

Hey,

We're something seeing timeout errors on GitHub Actions when omitting the timeout value.

According to this line https://github.com/tungd/elixir-dns/blob/a32f6998dbecedaf177edc2c9436dc057eea500b/lib/dns.ex#L32 the default value should be :infinity.

In that case, how is it possible to get a timeout error with the following code?

DNS.resolve("default._domainkey.#{@domain_name}", :txt)