unbound  0.1
Data Fields
auth_zone Struct Reference

Auth zone. More...

#include <authzone.h>

Data Fields

rbnode_type node
 rbtree node, key is name and class
 
uint8_t * name
 zone name, in uncompressed wireformat
 
size_t namelen
 length of zone name
 
int namelabs
 number of labels in zone name
 
uint16_t dclass
 the class of this zone, in host byteorder. More...
 
lock_rw_type lock
 lock on the data in the structure For the node, parent, name, namelen, namelabs, dclass, you need to also hold the zones_tree lock to change them (or to delete this zone)
 
rbtree_type data
 auth data for this zone rbtree of struct auth_data
 
char * zonefile
 zonefile name (or NULL for no zonefile)
 
int fallback_enabled
 fallback to the internet on failure or ttl-expiry of auth zone
 
int zone_expired
 the zone has expired (enabled by the xfer worker), fallback happens if that option is enabled.
 
int zone_is_slave
 zone is a slave zone (it has masters)
 
int for_downstream
 for downstream: this zone answers queries towards the downstream clients
 
int for_upstream
 for upstream: this zone answers queries that unbound intends to send upstream.
 
struct rpzrpz
 RPZ zones.
 
int zone_deleted
 zone has been deleted
 
struct auth_zonedelete_next
 deletelist pointer, unused normally except during delete
 
struct auth_zonerpz_az_next
 next auth zone containing RPZ data, or NULL
 
struct auth_zonerpz_az_prev
 previous auth zone containing RPZ data, or NULL
 

Detailed Description

Auth zone.

Authoritative data, that is fetched from instead of sending packets to the internet.

Field Documentation

◆ dclass

uint16_t auth_zone::dclass

The documentation for this struct was generated from the following file: