.ad l .TH ldns 3 "30 May 2006" .SH NAME ldns_axfr_start, ldns_axfr_next, ldns_axfr_abort, ldns_axfr_complete, ldns_axfr_last_pkt \- functions for full zone transfer .SH SYNOPSIS #include .br #include .br .PP #include .PP ldns_status ldns_axfr_start(ldns_resolver *resolver, const ldns_rdf *domain, ldns_rr_class c); .PP ldns_rr* ldns_axfr_next(ldns_resolver *resolver); .PP void ldns_axfr_abort(ldns_resolver *resolver); .PP bool ldns_axfr_complete(const ldns_resolver *resolver); .PP ldns_pkt* ldns_axfr_last_pkt(const ldns_resolver *res); .PP .SH DESCRIPTION .HP \fIldns_axfr_start\fR() Prepares the resolver for an axfr query The query is sent and the answers can be read with ldns_axfr_next \.br \fBresolver\fR: the resolver to use \.br \fBdomain\fR: the domain to exfr \.br \fBc\fR: the class to use \.br Returns ldns_status the status of the transfer .PP .HP \fIldns_axfr_next\fR() Get the next stream of RRs in a \%AXFR \.br \fBresolver\fR: the resolver to use. First ldns_axfr_start() must be called \.br Returns ldns_rr the next \%RR from the \%AXFR stream After you get this returned \%RR (not \%NULL: on error), then check if ldns_axfr_complete() is true to see if the zone transfer has completed. .PP .HP \fIldns_axfr_abort\fR() Abort a transfer that is in progress \.br \fBresolver\fR: the resolver that is used .PP .HP \fIldns_axfr_complete\fR() Returns true if the axfr transfer has completed (i.e. 2 \%SOA RRs and no errors were encountered \.br \fBresolver\fR: the resolver that is used \.br Returns bool true if axfr transfer was completed without error .PP .HP \fIldns_axfr_last_pkt\fR() Returns a pointer to the last ldns_pkt that was sent by the server in the \%AXFR transfer uasable for instance to get the error code on failure \.br \fBres\fR: the resolver that was used in the axfr transfer \.br Returns ldns_pkt the last packet sent .PP .SH AUTHOR The ldns team at NLnet Labs. Which consists out of Jelte Jansen and Miek Gieben. .SH REPORTING BUGS Please report bugs to ldns-team@nlnetlabs.nl or in our bugzilla at http://www.nlnetlabs.nl/bugs/index.html .SH COPYRIGHT Copyright (c) 2004 - 2006 NLnet Labs. .PP Licensed under the BSD License. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. .SH SEE ALSO \fBperldoc Net::DNS\fR, \fBRFC1034\fR, \fBRFC1035\fR, \fBRFC4033\fR, \fBRFC4034\fR and \fBRFC4035\fR. .SH REMARKS This manpage was automatically generated from the ldns source code by use of Doxygen and some perl.