From: Bob Halley Date: Sun, 18 Jan 2026 13:23:47 +0000 (-0800) Subject: Add RFC 9824 CO EDNS flag X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=7bd558e5b66329a788f0c991a291dc4d70a2e839;p=thirdparty%2Fdnspython.git Add RFC 9824 CO EDNS flag --- diff --git a/dns/flags.py b/dns/flags.py index 4c60be13..84a6bb31 100644 --- a/dns/flags.py +++ b/dns/flags.py @@ -46,6 +46,8 @@ class Flag(enum.IntFlag): class EDNSFlag(enum.IntFlag): #: DNSSEC answer OK DO = 0x8000 + #: Compact nonexistence, restore NXDOMAIN requested + CO = 0x4000 def _from_text(text: str, enum_class: Any) -> int: @@ -119,5 +121,6 @@ CD = Flag.CD ### BEGIN generated EDNSFlag constants DO = EDNSFlag.DO +CO = EDNSFlag.CO ### END generated EDNSFlag constants