21 BADALG
Algorithm not supported. The cryptographic algorithm specified in the TKEY or SIG record is not supported by the server.
On this page
When You See This Code
Your TKEY negotiation or DNSSEC operation requested an algorithm (e.g., HMAC-SHA512) that the server has not been compiled with or configured to accept.
How to Fix
Use a mutually supported algorithm. HMAC-SHA256 is widely supported for TSIG; for DNSSEC, check the server's supported algorithm list with its documentation.
Specification
Compare With
Guides
Glossary
Frequently Asked Questions
What is DNS 21 BADALG?
Algorithm not supported. The cryptographic algorithm specified in the TKEY or SIG record is not supported by the server.
When do you see DNS 21 BADALG?
Your TKEY negotiation or DNSSEC operation requested an algorithm (e.g., HMAC-SHA512) that the server has not been compiled with or configured to accept.
How to fix DNS 21 BADALG?
Use a mutually supported algorithm. HMAC-SHA256 is widely supported for TSIG; for DNSSEC, check the server's supported algorithm list with its documentation.