hickory_proto::op::update_message

Function 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 name
  • last_soa - the last SOA known, if any. If provided, name must match zone_origin