1ldns(3)                    Library Functions Manual                    ldns(3)
2
3
4

NAME

6       ldns_rr_mx_preference, ldns_rr_mx_exchange - get MX RR rdata fields
7
8

SYNOPSIS

10       #include <stdint.h>
11       #include <stdbool.h>
12
13       #include <ldns/ldns.h>
14
15       ldns_rdf* ldns_rr_mx_preference(const ldns_rr *r);
16
17       ldns_rdf* ldns_rr_mx_exchange(const ldns_rr *r);
18

DESCRIPTION

20       ldns_rr_mx_preference() returns the mx pref. of a LDNS_RR_TYPE_MX rr
21              r: the resource record
22              Returns a ldns_rdf* with the preference or NULL on failure
23
24       ldns_rr_mx_exchange() returns the mx host of a LDNS_RR_TYPE_MX rr
25              r: the resource record
26              Returns a ldns_rdf* with the name of the MX host or NULL on
27              failure
28

AUTHOR

30       The ldns team at NLnet Labs. Which consists out of Jelte Jansen and
31       Miek Gieben.
32
33

REPORTING BUGS

35       Please report bugs to ldns-team@nlnetlabs.nl or in our bugzilla at
36       http://www.nlnetlabs.nl/bugs/index.html
37
38
40       Copyright (c) 2004 - 2006 NLnet Labs.
41
42       Licensed under the BSD License. There is NO warranty; not even for MER‐
43       CHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
44

SEE ALSO

46       perldoc Net::DNS, RFC1034, RFC1035, RFC4033, RFC4034 and RFC4035.
47

REMARKS

49       This manpage was automatically generated from the ldns source code by
50       use of Doxygen and some perl.
51
52
53
54                                  30 May 2006                          ldns(3)
Impressum