DNS

DNS 11 DSOTYPENI vs 22 BADTRUNC

Both DNS 11 (DSOTYPENI) and 22 (BADTRUNC) belong to the DNS Response Codes (RCODEs) category. 11 indicates that dSO-TYPE Not Implemented. The DNS Stateful Operations (DSO) type in the request is not supported by the server. Meanwhile, 22 means that bad truncation. The TSIG record was truncated in a way that makes it impossible to verify the message signature.

विवरण

DSO-TYPE Not Implemented. The DNS Stateful Operations (DSO) type in the request is not supported by the server.

जब आप इसे देखें

Your client attempted a DSO operation (like a keepalive or push subscription) that the server does not recognize or has not implemented.

कैसे ठीक करें

Verify that both client and server support the same DSO-TYPE. Upgrade the server software or fall back to traditional DNS queries.

विवरण

Bad truncation. The TSIG record was truncated in a way that makes it impossible to verify the message signature.

जब आप इसे देखें

A large DNS response was truncated (TC bit set) but the TSIG MAC was computed over the full message, making the truncated version unverifiable.

कैसे ठीक करें

Retry the query over TCP to avoid truncation. If using UDP, ensure your EDNS buffer size is large enough to receive the full signed response.

मुख्य अंतर

1.

DNS 11: DSO-TYPE Not Implemented. The DNS Stateful Operations (DSO) type in the request is not supported by the server.

2.

DNS 22: Bad truncation. The TSIG record was truncated in a way that makes it impossible to verify the message signature.

3.

You encounter 11 when your client attempted a DSO operation (like a keepalive or push subscription) that the server does not recognize or has not implemented.

4.

You encounter 22 when a large DNS response was truncated (TC bit set) but the TSIG MAC was computed over the full message, making the truncated version unverifiable.

कब किसका उपयोग करें

For 11 (DSOTYPENI): Verify that both client and server support the same DSO-TYPE. Upgrade the server software or fall back to traditional DNS queries. For 22 (BADTRUNC): Retry the query over TCP to avoid truncation. If using UDP, ensure your EDNS buffer size is large enough to receive the full signed response.

और जानें