DNS 6 YXDOMAIN vs 7 YXRRSET
Both DNS 6 (YXDOMAIN) and 7 (YXRRSET) 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, 7 means that rR Set Exists when it should not. A resource record set exists that the update prerequisite says should not.
설명
Name Exists when it should not. Used in dynamic updates to indicate a name that should not exist already has records.
이 코드를 보게 되는 경우
A DNS UPDATE prerequisite check failed because the domain name already exists when the update expected it to be absent.
해결 방법
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.
설명
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.
주요 차이점
DNS 6: Name Exists when it should not. Used in dynamic updates to indicate a name that should not exist already has records.
DNS 7: RR Set Exists when it should not. A resource record set exists that the update prerequisite says should not.
You encounter 6 when a DNS UPDATE prerequisite check failed because the domain name already exists when the update expected it to be absent.
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.
언제 어떤 것을 사용할지
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 7 (YXRRSET): Delete the conflicting RRset before retrying the update, or adjust your prerequisite conditions to match the actual zone state.