Open
Description
This is a follow up on #4309
I think the problem was not completely resolved.
When the DNS server answers with the flag truncated but does not deliver any results the DNS client should retry using TCP.
When I'm looking at the current test it only tests that the DNS client can handle a DNS response with the truncated flag set and one result.
Would it be possible to add this additional functionality.
That would be very helpful.
I'm not a Netty expert but it seams to be fixed already there.
The desired behavior would be
- DNS client tries to resolve the hostname via UDP (default)
- DNS server answers with no results but the truncated flag is set
- DNS client retries to resolve the hostname via TCP
- DNS server answers with results
Unfortunately, I'm not an expert in netty and therefore unable to fix it myself.
If any additional feedback is required I'm more than happy to help here.
Vertx version: 4.3.2