sresolv 1.12.11devel
|
Sofia DNS Resolver Records. More...
#include "sofia-resolv/sres_config.h"
Go to the source code of this file.
Data Structures | |
struct | sres_common |
Common part of all DNS records. More... | |
struct | sres_soa_record |
Start of a zone of authority record (RFC 1035). More... | |
struct | sres_generic |
Generic DNS record. More... | |
struct | sres_a_record |
Address record (RFC 1035). More... | |
struct | sres_in6_t |
IPv6 address used by sresolv library. More... | |
struct | sres_a6_record |
Aggregated address record for IPv6 (RFC 2874, deprecated). More... | |
struct | sres_aaaa_record |
Address record for IPv6 (RFC 1886). More... | |
struct | sres_cname_record |
Canonic name record (RFC 1035). More... | |
struct | sres_ptr_record |
Pointer record (RFC 1035). More... | |
struct | sres_srv_record |
Service location record (RFC 2782). More... | |
struct | sres_naptr_record |
Naming authority pointer record (RFC 2915). More... | |
union | sres_record |
Union of different DNS records. More... | |
Macros | |
#define | SOFIA_RESOLV_SRES_RECORD_H |
Defined when <sofia-resolv/sres_record.h> has been included. | |
Typedefs | |
typedef struct sres_common | sres_common_t |
Common part of all DNS records. | |
typedef struct sres_soa_record | sres_soa_record_t |
Start of a zone of authority record (RFC 1035). | |
typedef struct sres_generic | sres_generic_t |
Generic DNS record. | |
typedef struct sres_a_record | sres_a_record_t |
Address record (RFC 1035). | |
typedef struct sres_a6_record | sres_a6_record_t |
Aggregated address record for IPv6 (RFC 2874, deprecated). | |
typedef struct sres_aaaa_record | sres_aaaa_record_t |
Address record for IPv6 (RFC 1886). | |
typedef struct sres_cname_record | sres_cname_record_t |
Canonic name record (RFC 1035). | |
typedef struct sres_ptr_record | sres_ptr_record_t |
Pointer record (RFC 1035). | |
typedef struct sres_srv_record | sres_srv_record_t |
Service location record (RFC 2782). | |
typedef struct sres_naptr_record | sres_naptr_record_t |
Naming authority pointer record (RFC 2915). | |
typedef union sres_record | sres_record_t |
Type representing any DNS record. | |
Functions | |
SRESPUBFUN char const * | sres_record_type (int type, char buffer[8]) |
Convert type to its name. | |
SRESPUBFUN char const * | sres_record_status (int status, char buffer[8]) |
Convert status to its name. | |
SRESPUBFUN int | sres_record_compare (sres_record_t const *, sres_record_t const *) |
Compare two records. | |
Sofia DNS Resolver Records.
enum sres_class |
enum sres_qtypes |
Query types.
Enumerator | |
---|---|
sres_type_a | IPv4 address (sres_a_record). |
sres_type_ns | Authoritative server. |
sres_type_mf | Mail forwarder. |
sres_type_cname | Canonical name (sres_cname_record). |
sres_type_soa | Start of authority zone (sres_soa_record). |
sres_type_mb | Mailbox domain name. |
sres_type_mg | Mail group member. |
sres_type_mr | Mail rename name. |
sres_type_null | Null resource record. |
sres_type_wks | Well known service. |
sres_type_ptr | Domain name pointer (sres_ptr_record). |
sres_type_hinfo | Host information. |
sres_type_minfo | Mailbox information. |
sres_type_mx | Mail routing information. |
sres_type_txt | Text strings. |
sres_type_rp | Responsible person. |
sres_type_afsdb | AFS cell database. |
sres_type_x25 | X_25 calling address. |
sres_type_isdn | ISDN calling address. |
sres_type_rt | Router. |
sres_type_nsap | NSAP address. |
sres_type_nsap_ptr | Reverse NSAP lookup. |
sres_type_sig | Security signature. |
sres_type_key | Security key. |
sres_type_px | X.400 mail mapping. |
sres_type_gpos | ICBM record. |
sres_type_aaaa | IPv6 Address (sres_aaaa_record). |
sres_type_loc | Location Information. |
sres_type_nxt | Next domain. |
sres_type_eid | Endpoint identifier. |
sres_type_nimloc | Nimrod Locator. |
sres_type_srv | Server Selection (RFC 2782, sres_srv_record). |
sres_type_atma | ATM Address. |
sres_type_naptr | Naming Authority PoinTeR (RFC 2915, sres_naptr_record) |
sres_type_kx | Key Exchange. |
sres_type_cert | Certification record. |
sres_type_a6 | IPv6 address (deprecates AAAA) |
sres_type_dname | Non-terminal DNAME (for IPv6) |
sres_type_sink | Kitchen sink (experimental) |
sres_type_opt | EDNS 0 option (RFC 2671) |
sres_qtype_tsig | Transaction signature. |
sres_qtype_ixfr | Incremental zone transfer. |
sres_qtype_axfr | Transfer zone of authority. |
sres_qtype_mailb | Transfer mailbox records. |
sres_qtype_maila | Transfer mail agent records. |
sres_qtype_any | Wildcard match. |
enum sres_status |
Possible values for r_status (RCODE) in sres_common.
SRESPUBFUN char const * sres_record_status | ( | int | status, |
char | buffer[8] | ||
) |
Convert status to its name.
Convert status to its name.