Fix a crash on unexpected incoming DNS message during XoT xfer

Merged Artem Boldariev requested to merge artem-fix-xot-crash-on-unexpected-incoming-message into main

This commit fixes a peculiar corner case in the client-side DoT code because of which a crash could occur during a zone transfer. A junk DNS message should be sent at the end of a zone transfer via TLS to trigger the crash (abort).

Closes #3004 (closed)

See also: #2986 (closed)

Edited by Artem Boldariev

Merge request reports