Function trust_dns_proto::op::update_message::zone_transfer
source · pub fn zone_transfer(zone_origin: Name, last_soa: Option<SOA>) -> Message
Expand description
Download all records from a zone, or all records modified since given SOA was observed. The request will either be a AXFR Query (ask for full zone transfer) if a SOA was not provided, or a IXFR Query (incremental zone transfer) if a SOA was provided.
Arguments
zone_origin
- the zone name to update, i.e. SOA namelast_soa
- the last SOA known, if any. If provided, name must matchzone_origin