using System; using System.Linq; namespace DnsClient { /* RFC 1035 (https://tools.ietf.org/html/rfc1035#section-3.2.4) * 3.2.4. CLASS values * CLASS fields appear in resource records. The following CLASS mnemonics and values are defined: IN 1 the Internet CS 2 the CSNET class (Obsolete - used only for examples in some obsolete RFCs) CH 3 the CHAOS class HS 4 Hesiod [Dyer 87] */ /// /// CLASS fields appear in resource records. /// public enum QueryClass : short { /// /// The Internet. /// IN = 1, /// /// The CSNET class (Obsolete - used only for examples in some obsolete RFCs). /// CS = 2, /// /// The CHAOS class. /// CH = 3, /// /// Hesiod [Dyer 87]. /// HS = 4 } }