ldns_rr_type(3)
NAME
ldns_rr, ldns_rr_class, ldns_rr_type, ldns_rr_compress, ldns_rr_list
SYNOPSIS
#include <stdint.h>
#include <stdbool.h>
#include <ldns/ldns.h>
DESCRIPTION
- ldns_rr
- Resource Record
This is the basic DNS element that contains actual data
From RFC1035:
<pre>
3.2.1. Format
All RRs have the same top level format shown below:
0
where:
NAME an owner name, i.e., the name of the node to which this
TYPE two octets containing one of the RR TYPE codes.
CLASS two octets containing one of the RR CLASS codes.
TTL a 32 bit signed integer that specifies the time interval
RDLENGTH an unsigned 16 bit integer that specifies the length in
RDATA a variable length string of octets that describes the
</pre>
The actual amount and type of rdata fields depend on the RR type of the
RR, and can be found by using
ef ldns_rr_descriptor functions.
struct ldns_struct_rr
{
Owner name, uncompressed:
Time to live:
Number of data fields:
the type of the RR. A, MX etc.:
Class of the resource record.:
The array of rdata’s:
};
typedef struct ldns_struct_rr ldns_rr;
- ldns_rr_class
-
The different RR classes. - enum ldns_enum_rr_class
{
the Internet:
Chaos class:
Hesiod (Dyer 87):
None class, dynamic update:
Any class:
};
typedef enum ldns_enum_rr_class ldns_rr_class;
- ldns_rr_type
- The different RR types.
enum ldns_enum_rr_type
{
a host address:
an authoritative name server:
a mail destination (Obsolete – use MX):
a mail forwarder (Obsolete – use MX):
the canonical name for an alias:
marks the start of a zone of authority:
a mailbox domain name (EXPERIMENTAL):
a mail group member (EXPERIMENTAL):
a mail rename domain name (EXPERIMENTAL):
a null RR (EXPERIMENTAL):
a well known service description:
a domain name pointer:
host information:
mailbox or mail list information:
mail exchange:
text strings:
RFC1183:
RFC1183:
RFC1183:
RFC1183:
RFC1183:
RFC1706:
RFC1348:
2535typecode:
2535typecode:
RFC2163:
RFC1712:
ipv6 address:
LOC record RFC1876:
2535typecode:
draft-ietf-nimrod-dns-01.txt:
draft-ietf-nimrod-dns-01.txt:
SRV record RFC2782:
http://www.jhsoft.com/rfc/af-saa-0069.000.rtf:
RFC2915:
RFC2230:
RFC2538:
RFC2874:
RFC2672:
dnsind-kitchen-sink-02.txt:
Pseudo OPT record…:
RFC3123:
draft-ietf-dnsext-delegation:
SSH Key Fingerprint:
IPsec Key:
DNSSEC:
draft-ietf-dane-protocol:
draft-ietf-dnsop-trust-history:
A request for mailbox-related records (MB, MG or MR):
A request for mail agent RRs (Obsolete – see MX):
any type (wildcard):
};
typedef enum ldns_enum_rr_type ldns_rr_type;
- ldns_rr_compress
-
Used to specify whether compression is allowed. - enum ldns_enum_rr_compress
{
compression is allowed:
};
typedef enum ldns_enum_rr_compress ldns_rr_compress;
- ldns_rr_list
- List or Set of Resource Records
Contains a list of rr’s <br>
No official RFC-like checks are made
struct ldns_struct_rr_list
{
};
typedef struct ldns_struct_rr_list ldns_rr_list;
AUTHOR
The ldns team at NLnet Labs. Which consists out of Jelte Jansen and Miek Gieben.
REPORTING BUGS
Please report bugs to ldns-team [at] nlnetlabs.nl or in our bugzilla at http://www.nlnetlabs.nl/bugs/index.html
COPYRIGHT
Copyright (c) 2004 – 2006 NLnet Labs.
Licensed under the BSD License. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
SEE ALSO
ldns_rr_new, ldns_rr_new_frm_type, ldns_rr_new_frm_str, ldns_rr_new_frm_fp, ldns_rr_free, ldns_rr_print, ldns_rr_set_owner, ldns_rr_set_ttl, ldns_rr_set_type, ldns_rr_set_rd_count, ldns_rr_set_class, ldns_rr_set_rdf, ldns_rr_push_rdf, ldns_rr_pop_rdf, ldns_rr_rdf, ldns_rr_owner, ldns_rr_rd_count, ldns_rr_ttl, ldns_rr_get_class, ldns_rr_list_rr_count, ldns_rr_list_set_rr_count, ldns_rr_list_new, ldns_rr_list_free, ldns_rr_list_cat, ldns_rr_list_push_rr, ldns_rr_list_pop_rr, ldns_is_rrset, ldns_rr_set_push_rr, ldns_rr_set_pop_rr, ldns_get_rr_class_by_name, ldns_get_rr_type_by_name, ldns_rr_list_clone, ldns_rr_list_sort, ldns_rr_compare, ldns_rr_compare_ds, ldns_rr_uncompressed_size, ldns_rr2canonical, ldns_rr_label_count, ldns_is_rrset, ldns_rr_descriptor, ldns_rr_descript. And perldoc Net::DNS, RFC1034, RFC1035, RFC4033, RFC4034 and RFC4035.
REMARKS
This manpage was automaticly generated from the ldns source code by use of Doxygen and some perl.