You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
There is quite some duplicate code in SimpleDoqResolver that I had to copy from SimpleResolver, so I guess there is some refactoring to do to make SimpleResolver more extensible and git rid of the copied code.
The PoC simply creates a new QUIC connection for every request. Of course this should be changed for a final implementation, reusing an existing connection or using session resumption when the connection was closed. I'm happy to implement this, but let's first see what you (@ibauersachs) think of it.
Thanks for the demo implementation. I really don't want to introduce a runtime dependency on an external library. I'm however happy to discuss opening some methods to make implementing other resolvers easier, though I'm not sure this is even necessary with the pluggable I/O Clients (TcpIoClient, UdpIoClient).
An example that uses your library would also be welcome or I could link to one.
Activity
ptrd commentedon May 19, 2024
I created a Proof of Concept by extending the dig tool with a -Q option, see https://github.com/ptrd/dnsjava/commits/doq/
There is quite some duplicate code in SimpleDoqResolver that I had to copy from SimpleResolver, so I guess there is some refactoring to do to make SimpleResolver more extensible and git rid of the copied code.
The PoC simply creates a new QUIC connection for every request. Of course this should be changed for a final implementation, reusing an existing connection or using session resumption when the connection was closed. I'm happy to implement this, but let's first see what you (@ibauersachs) think of it.
ibauersachs commentedon Jun 22, 2024
Hi @ptrd
Thanks for the demo implementation. I really don't want to introduce a runtime dependency on an external library. I'm however happy to discuss opening some methods to make implementing other resolvers easier, though I'm not sure this is even necessary with the pluggable I/O Clients (
TcpIoClient,UdpIoClient).An example that uses your library would also be welcome or I could link to one.