1ldns(3) Library Functions Manual ldns(3)
2
3
4
6 ldns_axfr_start, ldns_axfr_next, ldns_axfr_abort, ldns_axfr_complete,
7 ldns_axfr_last_pkt - functions for full zone transfer
8
9
11 #include <stdint.h>
12 #include <stdbool.h>
13
14 #include <ldns/ldns.h>
15
16 ldns_axfr_start();
17
18 ldns_rr* ldns_axfr_next(ldns_resolver *resolver);
19
20 void ldns_axfr_abort(ldns_resolver *resolver);
21
22 bool ldns_axfr_complete(const ldns_resolver *resolver);
23
24 ldns_pkt* ldns_axfr_last_pkt(const ldns_resolver *res);
25
27 ldns_axfr_start()
28
29 ldns_axfr_next() Get the next stream of RRs in a AXFR
30 resolver: the resolver to use. First ldns_axfr_start() must be
31 called
32 Returns ldns_rr the next RR from the AXFR stream After you get
33 this returned RR (not NULL: on error), then check if
34 ldns_axfr_complete() is true to see if the zone transfer has
35 completed.
36
37 ldns_axfr_abort() Abort a transfer that is in progress
38 resolver: the resolver that is used
39
40 ldns_axfr_complete() Returns true if the axfr transfer has completed
41 (i.e. 2 SOA RRs and no errors were encountered
42 resolver: the resolver that is used
43 Returns bool true if axfr transfer was completed without error
44
45 ldns_axfr_last_pkt() Returns a pointer to the last ldns_pkt that was
46 sent by the server in the AXFR transfer uasable for instance to
47 get the error code on failure
48 res: the resolver that was used in the axfr transfer
49 Returns ldns_pkt the last packet sent
50
52 The ldns team at NLnet Labs.
53
54
56 Please report bugs to ldns-team@nlnetlabs.nl or in our bugzilla at
57 http://www.nlnetlabs.nl/bugs/index.html
58
59
61 Copyright (c) 2004 - 2006 NLnet Labs.
62
63 Licensed under the BSD License. There is NO warranty; not even for MER‐
64 CHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
65
67 perldoc Net::DNS, RFC1034, RFC1035, RFC4033, RFC4034 and RFC4035.
68
70 This manpage was automatically generated from the ldns source code.
71
72
73
74 30 May 2006 ldns(3)