DNS 7 YXRRSET vs 19 BADMODE
Both DNS 7 (YXRRSET) and 19 (BADMODE) belong to the DNS Response Codes (RCODEs) category. 7 indicates that rR Set Exists when it should not. A resource record set exists that the update prerequisite says should not. Meanwhile, 19 means that bad TKEY Mode. The TKEY mode field contains a value not supported by the server.
Описание
RR Set Exists when it should not. A resource record set exists that the update prerequisite says should not.
Когда вы это видите
A DNS UPDATE failed because a specific RRset (e.g., an A record) already exists when the prerequisite required it to be absent.
Как исправить
Delete the conflicting RRset before retrying the update, or adjust your prerequisite conditions to match the actual zone state.
Описание
Bad TKEY Mode. The TKEY mode field contains a value not supported by the server.
Когда вы это видите
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.
Как исправить
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.
Ключевые различия
DNS 7: RR Set Exists when it should not. A resource record set exists that the update prerequisite says should not.
DNS 19: Bad TKEY Mode. The TKEY mode field contains a value not supported by the server.
You encounter 7 when a DNS UPDATE failed because a specific RRset (e.g., an A record) already exists when the prerequisite required it to be absent.
You encounter 19 when 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.
Когда что использовать
For 7 (YXRRSET): Delete the conflicting RRset before retrying the update, or adjust your prerequisite conditions to match the actual zone state. For 19 (BADMODE): 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.