DNS

DNS 6 YXDOMAIN vs 9 NOTAUTH

Both DNS 6 (YXDOMAIN) and 9 (NOTAUTH) belong to the DNS Response Codes (RCODEs) category. 6 indicates that name Exists when it should not. Used in dynamic updates to indicate a name that should not exist already has records. Meanwhile, 9 means that server Not Authoritative for zone, or Not Authorized. The server is not authoritative for the zone named in the Zone section.

Descripción

Name Exists when it should not. Used in dynamic updates to indicate a name that should not exist already has records.

Cuándo lo verás

A DNS UPDATE prerequisite check failed because the domain name already exists when the update expected it to be absent.

Cómo solucionarlo

Review your dynamic update prerequisites. If you expect to create a new name, remove the existing records first or change the prerequisite to allow existing names.

Descripción

Server Not Authoritative for zone, or Not Authorized. The server is not authoritative for the zone named in the Zone section.

Cuándo lo verás

You sent a dynamic update or zone operation to a server that is not the authoritative master for that zone, or the server rejected it due to TSIG authentication failure.

Cómo solucionarlo

Send the update to the correct primary authoritative server for the zone. If using TSIG, verify the key name and secret match on both client and server.

Diferencias clave

1.

DNS 6: Name Exists when it should not. Used in dynamic updates to indicate a name that should not exist already has records.

2.

DNS 9: Server Not Authoritative for zone, or Not Authorized. The server is not authoritative for the zone named in the Zone section.

3.

You encounter 6 when a DNS UPDATE prerequisite check failed because the domain name already exists when the update expected it to be absent.

4.

You encounter 9 when you sent a dynamic update or zone operation to a server that is not the authoritative master for that zone, or the server rejected it due to TSIG authentication failure.

Cuándo usar cada uno

For 6 (YXDOMAIN): Review your dynamic update prerequisites. If you expect to create a new name, remove the existing records first or change the prerequisite to allow existing names. For 9 (NOTAUTH): Send the update to the correct primary authoritative server for the zone. If using TSIG, verify the key name and secret match on both client and server.

Saber más