DNS

DNS 3 NXDOMAIN vs 19 BADMODE

Both DNS 3 (NXDOMAIN) and 19 (BADMODE) belong to the DNS Response Codes (RCODEs) category. 3 indicates that non-Existent Domain. The queried domain name does not exist in the DNS namespace. Meanwhile, 19 means that bad TKEY Mode. The TKEY mode field contains a value not supported by the server.

Mô tả

Non-Existent Domain. The queried domain name does not exist in the DNS namespace.

Khi bạn thấy mã này

The domain has no DNS records at all — either it was never registered, has expired, or you have a typo in the hostname.

Cách khắc phục

Double-check the domain spelling. If you own the domain, verify your registrar settings and ensure the nameservers are correctly delegated.

Mô tả

Bad TKEY Mode. The TKEY mode field contains a value not supported by the server.

Khi bạn thấy mã này

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.

Cách khắc phục

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.

Sự khác biệt chính

1.

DNS 3: Non-Existent Domain. The queried domain name does not exist in the DNS namespace.

2.

DNS 19: Bad TKEY Mode. The TKEY mode field contains a value not supported by the server.

3.

You encounter 3 when the domain has no DNS records at all — either it was never registered, has expired, or you have a typo in the hostname.

4.

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.

Khi nào dùng cái nào

For 3 (NXDOMAIN): Double-check the domain spelling. If you own the domain, verify your registrar settings and ensure the nameservers are correctly delegated. 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.

Tìm hiểu thêm