This structure contains module configuration information. More...
Data Fields | |
struct sockaddr_storage | prefix_addr |
DNS64 prefix address. More... | |
socklen_t | prefix_addrlen |
This is always sizeof(sockaddr_in6). | |
int | prefix_net |
This is the CIDR length of the prefix. More... | |
rbtree_type | ignore_aaaa |
Tree of names for which AAAA is ignored. More... | |
This structure contains module configuration information.
One instance of this structure exists per instance of the module. Normally there is only one instance of the module.
struct sockaddr_storage dns64_env::prefix_addr |
DNS64 prefix address.
We're using a full sockaddr instead of just an in6_addr because we can reuse Unbound's generic string parsing functions. It will always contain a sockaddr_in6, and only the sin6_addr member will ever be used.
Referenced by dns64_apply_cfg().
int dns64_env::prefix_net |
This is the CIDR length of the prefix.
It needs to be between 0 and 96.
Referenced by dns64_apply_cfg().
rbtree_type dns64_env::ignore_aaaa |
Tree of names for which AAAA is ignored.
always synthesize from A.
Referenced by dns64_always_synth_for_qname(), dns64_apply_cfg(), dns64_deinit(), and dns64_init().