Sofia DNS Resolver Records.
#include <sys/types.h> #include <sys/socket.h> #include <netinet/in.h> #include <sofia-resolv/sres_record.h>
#include "sofia-resolv/sres_config.h"
Go to the source code of this file.
typedef union sres_record sres_record_t |
Type representing any DNS record.
enum sres_class |
enum sres_qtypes |
Query types.
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 int sres_record_compare | ( | sres_record_t const * | aa, | |
sres_record_t const * | bb | |||
) |
Compare two records.
SRESPUBFUN char const* sres_record_type | ( | int | type, | |
char | buffer[8] | |||
) |
Convert type to its name.