DNS
19 BADMODE
Bad TKEY Mode. The TKEY mode field contains a value not supported by the server.
When You See This Code
Your client attempted a TKEY key exchange using a mode (e.g., Diffie-Hellman, GSS-API) that the server does not support or has not been configured for.
How to Fix
Check which TKEY modes the server supports and configure your client to use a compatible mode. GSS-TSIG (mode 3) is the most widely deployed.