DNS resource record. More...
#include <dns_resource_record.h>
Public Member Functions | |
Construction | |
| DNSResourceRecord () | |
| ~DNSResourceRecord () | |
Attributes | |
| std::string | get_name () const |
| Get Name. More... | |
| std::string | get_type () const |
| Get Type. More... | |
| std::string | get_class () const |
| Get Class. More... | |
| int | get_ttl () const |
| Get Ttl. More... | |
| const DNSPacket & | get_packet () const |
| int | get_record_offset () const |
| Get Record offset. More... | |
| int | get_rdata_offset () const |
| Get Rdata offset. More... | |
| int | get_rdata_length () const |
| Get Rdata length. More... | |
| std::string | get_cname_cname () const |
| Get Cname cname. More... | |
| int | get_mx_preference () const |
| Get Mx preference. More... | |
| std::string | get_mx_exchange () const |
| Get Mx exchange. More... | |
| std::string | get_ns_nsdname () const |
| Get Ns nsdname. More... | |
| std::string | get_ptr_ptrdname () const |
| Get Ptr ptrdname. More... | |
| std::string | get_soa_mname () const |
| Get Soa mname. More... | |
| std::string | get_soa_rname () const |
| Get Soa rname. More... | |
| unsigned int | get_soa_serial () const |
| int | get_soa_refresh () const |
| Get Soa refresh. More... | |
| int | get_soa_retry () const |
| Get Soa retry. More... | |
| int | get_soa_expire () const |
| Get Soa expire. More... | |
| unsigned int | get_soa_minimum () const |
| unsigned int | get_a_address () const |
| std::string | get_a_address_str () const |
| Get A address str. More... | |
| unsigned int | get_wks_address () const |
| std::string | get_wks_address_str () const |
| Get Wks address str. More... | |
| unsigned char | get_wks_protocol () const |
| DataBuffer | get_wks_bit_map () const |
| Get Wks bit map. More... | |
Operation | |
| void | set_record (DNSPacket packet, int record_offset) |
| Set record. More... | |
| static int | type_to_int (const std::string &qtype) |
| Type to int. More... | |
| static std::string | type_from_int (int qtype) |
| Type from int. More... | |
| static std::string | type_description (const std::string &qtype) |
| Type description. More... | |
| static std::string | type_description (int qtype) |
| Type description. More... | |
| static int | class_to_int (const std::string &qclass) |
| Class to int. More... | |
| static std::string | class_from_int (int qclass) |
| Class from int. More... | |
| static std::string | class_description (const std::string &qclass) |
| Class description. More... | |
| static std::string | class_description (int qclass) |
| Class description. More... | |
| static int | find_domain_name_end (const DataBuffer &packet, int offset) |
| Find domain name end. More... | |
| static std::string | read_domain_name (const DataBuffer &packet, int offset) |
| Read domain name. More... | |
DNS resource record.