NLnetLabs / domain

A DNS library for Rust.
https://nlnetlabs.nl/projects/domain/about/
BSD 3-Clause "New" or "Revised" License
341 stars 57 forks source link

Redefine stub resolver transport types. #296

Closed partim closed 4 months ago

partim commented 4 months ago

This PR redefines the stub resolver’s Transport::Udp type to be Transport::UdpTcp, i.e., use UDP but retry with TCP if the answer is truncated and slightly reworks the server selection code in the stub resolver to use all servers if use_vc is set.

This is a breaking change.

Fixes #91.