Closed
Description
We're using dnsjava (currently at 3.4.1) in our application to test configuration of DNS servers. We've noticed intermittent failures of TCP queries with servers that otherwise have no problem responding over TCP. Looking at the network capture, I notice that there appears to be a TCP keep-alive mechanism in dnsjava. In the one failure I managed to capture, the first query over TCP works fine, but the subsequent query fails and we observe a RST from the server.
How can we disable TCP keep alives? They are not appropriate for our use case because we'd like our zone tests to be deterministic. At the moment, our test of one zone is reusing a TCP connection of some other zone and we would like to avoid that.
Metadata
Metadata
Assignees
Labels
No labels