Closed stanhu closed 1 year ago
When the list of nameservers is exhausted, previously Resolver#query_tcp was returning the list of nameservers. Fix this by returning the last received payload from the server.
Resolver#query_tcp
Closes #46
@weppos Could you review this? I think the build failing is unrelated.
I guess https://github.com/bluemonk/net-dns/pull/63/files is a duplicate of this.
When the list of nameservers is exhausted, previously
Resolver#query_tcp
was returning the list of nameservers. Fix this by returning the last received payload from the server.Closes #46