Main Page | Class Hierarchy | Class List | File List | Class Members | File Members

dns_resource_record.cpp File Reference

#include "precomp.h"
#include "dns_resource_record.h"
#include "string_help.h"
#include "exception.h"
#include <sys/types.h>
#include <netinet/in.h>

Go to the source code of this file.

Variables

static RRType rr_types []
static ClassType class_types []


Variable Documentation

ClassType class_types[] [static]
 

Initial value:

{
        "IN",    1,   "the Internet",
        "CS",    2,   "the CSNET class (Obsolete)",
        "CH",    3,   "the CHAOS class",
        "HS",    4,   "Hesiod [Dyer 87]",
        "*",     255, "qclass: Any class",
        0,       0,   0
}

Definition at line 319 of file dns_resource_record.cpp.

Referenced by CL_DNSResourceRecord::class_description(), CL_DNSResourceRecord::class_from_int(), and CL_DNSResourceRecord::class_to_int().

RRType rr_types[] [static]
 

Initial value:

{
        "A",     1,  "a host address",
        "NS",    2,  "an authoritative name server",
        "MD",    3,  "a mail destination (Obsolete - use MX)",
        "MF",    4,  "a mail forwarder (Obsolete - use MX)",
        "CNAME", 5,  "the canonical name for an alias",
        "SOA",   6,  "marks the start of a zone of authority",
        "MB",    7,  "a mailbox domain name (EXPERIMENTAL)",
        "MG",    8,  "a mail group member (EXPERIMENTAL)",
        "MR",    9,  "a mail rename domain name (EXPERIMENTAL)",
        "NULL",  10, "a null RR (EXPERIMENTAL)",
        "WKS",   11, "a well known service description",
        "PTR",   12, "a domain name pointer",
        "HINFO", 13, "host information",
        "MINFO", 14, "mailbox or mail list information",
        "MX",    15, "mail exchange",
        "TXT",   16, "text strings",
        "AXFR",  252, "qtype: A request for a transfer of an entire zone",
        "MAILB", 253, "qtype: A request for mailbox-related records (MB, MG or MR)",
        "MAILA", 254, "qtype: A request for mail agent RRs (Obsolete - see MX)",
        "*",     255, "qtype: A request for all records",
        0,       0,  0
}

Definition at line 287 of file dns_resource_record.cpp.

Referenced by CL_DNSResourceRecord::type_description(), CL_DNSResourceRecord::type_from_int(), and CL_DNSResourceRecord::type_to_int().


Generated on Sat Feb 19 22:51:16 2005 for npcore by  doxygen 1.4.1