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.
31
32

REPORTING BUGS

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

SEE ALSO

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

REMARKS

48       This manpage was automatically generated from the ldns source code.
49
50
51
52                                  30 May 2006                          ldns(3)
Impressum