DNS

DNS 8 NXRRSET vs 18 BADTIME

Both DNS 8 (NXRRSET) and 18 (BADTIME) belong to the DNS Response Codes (RCODEs) category. 8 indicates that rR Set that should exist does not. A required resource record set is missing from the zone. Meanwhile, 18 means that signature out of time window. The TSIG signature timestamp is outside the allowed clock skew, indicating a time synchronization issue.

คำอธิบาย

RR Set that should exist does not. A required resource record set is missing from the zone.

เมื่อคุณพบเห็น

A DNS UPDATE prerequisite expected a certain RRset to exist (e.g., an MX record), but the zone does not contain it.

วิธีแก้ไข

Create the missing RRset in the zone before retrying the update, or change the prerequisite to not require its existence.

คำอธิบาย

Signature out of time window. The TSIG signature timestamp is outside the allowed clock skew, indicating a time synchronization issue.

เมื่อคุณพบเห็น

The clocks on the DNS client and server are too far apart (usually more than 5 minutes), causing TSIG signature validation to fail.

วิธีแก้ไข

Synchronize clocks on both machines using NTP. Check that the TSIG fudge value (allowed skew) is reasonable — the default 300 seconds is usually sufficient.

ความแตกต่างหลัก

1.

DNS 8: RR Set that should exist does not. A required resource record set is missing from the zone.

2.

DNS 18: Signature out of time window. The TSIG signature timestamp is outside the allowed clock skew, indicating a time synchronization issue.

3.

You encounter 8 when a DNS UPDATE prerequisite expected a certain RRset to exist (e.g., an MX record), but the zone does not contain it.

4.

You encounter 18 when the clocks on the DNS client and server are too far apart (usually more than 5 minutes), causing TSIG signature validation to fail.

ควรใช้อันไหนเมื่อไร

For 8 (NXRRSET): Create the missing RRset in the zone before retrying the update, or change the prerequisite to not require its existence. For 18 (BADTIME): Synchronize clocks on both machines using NTP. Check that the TSIG fudge value (allowed skew) is reasonable — the default 300 seconds is usually sufficient.

เรียนรู้เพิ่มเติม