s4 dns: Better error handling when parsing invalid or unknown records
[ira/wip.git] / librpc / idl / dns.idl
index b4075365ab0f6046d46dc7c185b2d11a58155f78..486b16e50b382c275c6ae48bddffaccb2a0f0d21 100644 (file)
@@ -60,7 +60,9 @@ interface dns
        } dns_rcode;
 
        typedef [public,enum16bit] enum {
-               DNS_QCLASS_IP = 0x01
+               DNS_QCLASS_IP   = 0x0001,
+               DNS_QCLASS_NONE = 0x00FE,
+               DNS_QCLASS_ANY  = 0x00FF
        } dns_qclass;
 
        /* These vese values could have been merged with NBT_QTYPE values, but