Public Member Functions |
|
DnsQuestion () | |
constructor |
|
DnsQuestion (const DnsQuestion &q) | |
copy constructor |
|
DnsQuestion & | operator= (const DnsQuestion &q) |
assignment |
|
DnsQuestion (domainname QNAME, u_int16 QTYPE, u_int16 QCLASS=CLASS_IN) | |
constructor |
|
~DnsQuestion () | |
destructor |
|
Public Attributes |
|
domainname | QNAME |
query domain name |
|
u_int16 | QTYPE |
query type |
|
u_int16 | QCLASS |
query class |
This object holds a DNS question object - an entry in the question section of a DNS message.
Definition at line 124 of file dnsmessage.h.
|
constructor This is the default constructor. |
|
copy constructor This constructor copies the given question.
|
|
constructor This constructor takes values for the various fields of the question structure.
|
|
destructor Frees data associated with the object. |
|
assignment This is the assignment operator. It works in the same way as the copy constructor. |
|
query class The class to query. This is mainly historical, the only class that is used nowadays is CLASS_IN (the internet). Other values as CLASS_HS for Hesiod, CLASS_CH for chaos, and CLASS_CS for CSNET. The QCLASS_ANY constant means you don't care what class, but this is usually not supported. The list of constants can be found in the dnsdefs.h header. Definition at line 189 of file dnsmessage.h. |
|
query domain name Domain name to query for. Definition at line 170 of file dnsmessage.h. |
|
query type The type of data to query for. This can be a RR type constant (for example, DNS_TYPE_A), or a QTYPE_* constant (for example, QTYPE_ANY). These constants can be found in the dnsdefs.h header. Definition at line 179 of file dnsmessage.h. |