Lines Matching full:zone

2  * services/authzone.h - authoritative zone that is locally hosted.
39 * This file contains the functions for an authority zone. This zone
40 * is queried by the iterator, just like a stub or forward zone, but then
82 /** first auth zone containing rpz item in linked list */
90 * Auth zone. Authoritative data, that is fetched from instead of sending
97 /** zone name, in uncompressed wireformat */
99 /** length of zone name */
101 /** number of labels in zone name */
103 /** the class of this zone, in host byteorder.
110 * delete this zone) */
113 /** auth data for this zone
119 /** fallback to the internet on failure or ttl-expiry of auth zone */
121 /** the zone has expired (enabled by the xfer worker), fallback
124 /** zone is a slave zone (it has masters) */
126 /** for downstream: this zone answers queries towards the downstream
129 /** for upstream: this zone answers queries that unbound intends to
145 /** zone has been deleted */
150 /** next auth zone containing RPZ data, or NULL */
152 /** previous auth zone containing RPZ data, or NULL */
189 * Authoritative zone transfer structure.
198 * lookup in the main zonetree. If the zone has no transfers, this
216 /** zone name, in uncompressed wireformat */
218 /** length of zone name */
220 /** number of labels in zone name */
222 /** the class of this zone, in host byteorder.
231 /** task for SOA probe. Check if the zone can be updated */
234 /** Task for transfer. Transferring and updating the zone. This
236 * and storing the zone */
239 /** a notify was received, but a zone transfer or probe was already
241 * However, the zone transfer could signal a newer serial number.
258 * the loaded authority zone. */
259 /** is the zone currently considered expired? after expiry also older
262 /** do we have a zone (if 0, no zone data at all) */
265 /** current serial (from SOA), if we have no zone, 0 */
273 /** expiry time (from SOA), time until zone data is not considered
275 * with the current zone or a new zone. */
278 /** zone lease start time (start+expiry is expiration time).
279 * this is renewed every SOA probe and transfer. On zone load
310 * Send a SOA UDP query to see if the zone needs to be updated (or similar,
325 /** list of upstream masters for this zone, from config */
379 /** list of upstream masters for this zone, from config */
396 /** the zone transfer in progress (or NULL if in scan). It is
441 /** auth zone master upstream, and the config settings for it */
454 * to us, but we don't send SOA probes, or zone transfer from it */
464 /** auth zone master zone transfer data chunk */
486 * @param is_rpz: set to 1 if at least one RPZ zone is configured.
504 * Stops the xfr tasks. But leaves zone data.
515 * Write auth zone data to file, in zonefile format.
529 * @param dp_nm: name of delegation point to look for. This zone is used
543 * Answer query from auth zone. Create authoritative answer.
558 * Find the auth zone that is above the given qname.
564 * @param dclass: class of zone to find.
570 /** find an auth zone by name (exact match by name or NULL returned) */
574 /** find an xfer zone by name (exact match by name or NULL returned) */
578 /** create an auth zone. returns wrlocked zone. caller must have wrlock
583 /** set auth zone zonefile string. caller must have lock on zone */
586 /** set auth zone fallback. caller must have lock on zone.
590 /** see if the auth zone for the name can fallback
594 * @param dclass: class of zone to look for.
596 * if the zone does not exist, fallback is true (more lenient)
597 * also true if zone does not do upstream requests.
609 * @param nm: name of the zone. Uncompressed. from query.
611 * @param dclass: class of zone.
629 /** for the zone and if not already going, starts the probe sequence.
630 * false if zone cannot be found. This is like a notify arrived and was
631 * accepted for that zone. */
635 /** read auth zone from zonefile. caller must lock zone. false on failure */
641 /** find serial number of zone or false if none (no SOA record) */
657 * Caller must have wrlock on az. Returns locked xfer zone.
659 * @param z: zone with name and class
660 * @return xfer zone or NULL
708 * Generate ZONEMD digest for the auth zone.
709 * @param z: the auth zone to digest.
740 * Check ZONEMD digest for the auth zone.
741 * @param z: auth zone to digest.
759 * Perform ZONEMD checks and verification for the auth zone.
761 * @param z: auth zone to check. Caller holds lock. wrlock.
794 * Initial pick up of the auth zone nextprobe timeout and that turns
795 * into further zone transfer work, if any. Also sets the lease time.