Electroneum
config_file Struct Reference

#include <config_file.h>

Collaboration diagram for config_file:

Public Attributes

int verbosity
 
int stat_interval
 
int stat_cumulative
 
int stat_extended
 
int num_threads
 
int port
 
int do_ip4
 
int do_ip6
 
int prefer_ip6
 
int do_udp
 
int do_tcp
 
int tcp_upstream
 
int udp_upstream_without_downstream
 
int tcp_mss
 
int outgoing_tcp_mss
 
char * ssl_service_key
 
char * ssl_service_pem
 
int ssl_port
 
int ssl_upstream
 
char * tls_cert_bundle
 
int tls_win_cert
 
struct config_strlisttls_additional_port
 
int outgoing_num_ports
 
size_t outgoing_num_tcp
 
size_t incoming_num_tcp
 
int * outgoing_avail_ports
 
size_t edns_buffer_size
 
size_t msg_buffer_size
 
size_t msg_cache_size
 
size_t msg_cache_slabs
 
size_t num_queries_per_thread
 
size_t jostle_time
 
size_t rrset_cache_size
 
size_t rrset_cache_slabs
 
int host_ttl
 
size_t infra_cache_slabs
 
size_t infra_cache_numhosts
 
int infra_cache_min_rtt
 
int delay_close
 
char * target_fetch_policy
 
int low_rtt_permil
 
int low_rtt
 
int if_automatic
 
size_t so_rcvbuf
 
size_t so_sndbuf
 
int so_reuseport
 
int ip_transparent
 
int ip_freebind
 
int num_ifs
 
char ** ifs
 
int num_out_ifs
 
char ** out_ifs
 
struct config_strlistroot_hints
 
struct config_stubstubs
 
struct config_stubforwards
 
struct config_authauths
 
struct config_viewviews
 
struct config_strlistdonotqueryaddrs
 
struct config_str2listacls
 
int donotquery_localhost
 
int harden_short_bufsize
 
int harden_large_queries
 
int harden_glue
 
int harden_dnssec_stripped
 
int harden_below_nxdomain
 
int harden_referral_path
 
int harden_algo_downgrade
 
int use_caps_bits_for_id
 
struct config_strlistcaps_whitelist
 
struct config_strlistprivate_address
 
struct config_strlistprivate_domain
 
size_t unwanted_threshold
 
int max_ttl
 
int min_ttl
 
int max_negative_ttl
 
int prefetch
 
int prefetch_key
 
char * chrootdir
 
char * username
 
char * directory
 
char * logfile
 
char * pidfile
 
int use_syslog
 
int log_time_ascii
 
int log_queries
 
int log_replies
 
char * log_identity
 
int hide_identity
 
int hide_version
 
int hide_trustanchor
 
char * identity
 
char * version
 
char * module_conf
 
struct config_strlisttrust_anchor_file_list
 
struct config_strlisttrust_anchor_list
 
struct config_strlistauto_trust_anchor_file_list
 
struct config_strlisttrusted_keys_file_list
 
char * dlv_anchor_file
 
struct config_strlistdlv_anchor_list
 
struct config_strlistdomain_insecure
 
int trust_anchor_signaling
 
int root_key_sentinel
 
int32_t val_date_override
 
int32_t val_sig_skew_min
 
int32_t val_sig_skew_max
 
int bogus_ttl
 
int val_clean_additional
 
int val_log_level
 
int val_log_squelch
 
int val_permissive_mode
 
int aggressive_nsec
 
int ignore_cd
 
int serve_expired
 
char * val_nsec3_key_iterations
 
unsigned int add_holddown
 
unsigned int del_holddown
 
unsigned int keep_missing
 
int permit_small_holddown
 
size_t key_cache_size
 
size_t key_cache_slabs
 
size_t neg_cache_size
 
struct config_str2listlocal_zones
 
struct config_strlistlocal_zones_nodefault
 
int local_zones_disable_default
 
struct config_strlistlocal_data
 
struct config_str3listlocal_zone_overrides
 
int unblock_lan_zones
 
int insecure_lan_zones
 
struct config_strbytelistlocal_zone_tags
 
struct config_strbytelistacl_tags
 
struct config_str3listacl_tag_actions
 
struct config_str3listacl_tag_datas
 
struct config_str2listacl_view
 
struct config_strbytelistrespip_tags
 
struct config_str2listrespip_actions
 
struct config_str2listrespip_data
 
char ** tagname
 
int num_tags
 
int remote_control_enable
 
struct config_strlist_head control_ifs
 
int control_use_cert
 
int control_port
 
char * server_key_file
 
char * server_cert_file
 
char * control_key_file
 
char * control_cert_file
 
char * python_script
 
int use_systemd
 
int do_daemonize
 
int minimal_responses
 
int rrset_roundrobin
 
size_t max_udp_size
 
char * dns64_prefix
 
int dns64_synthall
 
int dnstap
 
char * dnstap_socket_path
 
int dnstap_send_identity
 
int dnstap_send_version
 
char * dnstap_identity
 
char * dnstap_version
 
int dnstap_log_resolver_query_messages
 
int dnstap_log_resolver_response_messages
 
int dnstap_log_client_query_messages
 
int dnstap_log_client_response_messages
 
int dnstap_log_forwarder_query_messages
 
int dnstap_log_forwarder_response_messages
 
int disable_dnssec_lame_check
 
int ip_ratelimit
 
size_t ip_ratelimit_slabs
 
size_t ip_ratelimit_size
 
int ip_ratelimit_factor
 
int ratelimit
 
size_t ratelimit_slabs
 
size_t ratelimit_size
 
struct config_str2listratelimit_for_domain
 
struct config_str2listratelimit_below_domain
 
int ratelimit_factor
 
int qname_minimisation
 
int qname_minimisation_strict
 
int shm_enable
 
int shm_key
 
int dnscrypt
 
int dnscrypt_port
 
char * dnscrypt_provider
 
struct config_strlistdnscrypt_secret_key
 
struct config_strlistdnscrypt_provider_cert
 
struct config_strlistdnscrypt_provider_cert_rotated
 
size_t dnscrypt_shared_secret_cache_size
 
size_t dnscrypt_shared_secret_cache_slabs
 
size_t dnscrypt_nonce_cache_size
 
size_t dnscrypt_nonce_cache_slabs
 

Detailed Description

The configuration options. Strings are malloced.

Definition at line 68 of file config_file.h.

Member Data Documentation

◆ acl_tag_actions

struct config_str3list* config_file::acl_tag_actions

list of aclname, tagname, localzonetype

Definition at line 366 of file config_file.h.

◆ acl_tag_datas

struct config_str3list* config_file::acl_tag_datas

list of aclname, tagname, redirectdata

Definition at line 368 of file config_file.h.

◆ acl_tags

struct config_strbytelist* config_file::acl_tags

list of aclname, tagbitlist

Definition at line 364 of file config_file.h.

◆ acl_view

struct config_str2list* config_file::acl_view

list of aclname, view

Definition at line 370 of file config_file.h.

◆ acls

struct config_str2list* config_file::acls

list of access control entries, linked list

Definition at line 213 of file config_file.h.

◆ add_holddown

unsigned int config_file::add_holddown

autotrust add holddown time, in seconds

Definition at line 332 of file config_file.h.

◆ aggressive_nsec

int config_file::aggressive_nsec

use cached NSEC records to synthesise (negative) answers

Definition at line 324 of file config_file.h.

◆ auths

struct config_auth* config_file::auths

the auth zone definitions, linked list

Definition at line 193 of file config_file.h.

◆ auto_trust_anchor_file_list

struct config_strlist* config_file::auto_trust_anchor_file_list

files with 5011 autotrust tracked keys

Definition at line 293 of file config_file.h.

◆ bogus_ttl

int config_file::bogus_ttl

this value sets the number of seconds before revalidating bogus

Definition at line 314 of file config_file.h.

◆ caps_whitelist

struct config_strlist* config_file::caps_whitelist

0x20 whitelist, domains that do not use capsforid

Definition at line 234 of file config_file.h.

◆ chrootdir

char* config_file::chrootdir

chrootdir, if not "" or chroot will be done

Definition at line 253 of file config_file.h.

◆ control_cert_file

char* config_file::control_cert_file

certificate file for unbound-control

Definition at line 397 of file config_file.h.

◆ control_ifs

struct config_strlist_head config_file::control_ifs

the interfaces the remote control should listen on

Definition at line 385 of file config_file.h.

◆ control_key_file

char* config_file::control_key_file

private key file for unbound-control

Definition at line 395 of file config_file.h.

◆ control_port

int config_file::control_port

port number for the control port

Definition at line 389 of file config_file.h.

◆ control_use_cert

int config_file::control_use_cert

if the use-cert option is set

Definition at line 387 of file config_file.h.

◆ del_holddown

unsigned int config_file::del_holddown

autotrust del holddown time, in seconds

Definition at line 334 of file config_file.h.

◆ delay_close

int config_file::delay_close

delay close of udp-timeouted ports, if 0 no delayclose. in msec

Definition at line 152 of file config_file.h.

◆ directory

char* config_file::directory

working directory

Definition at line 257 of file config_file.h.

◆ disable_dnssec_lame_check

int config_file::disable_dnssec_lame_check

true to disable DNSSEC lameness check in iterator

Definition at line 450 of file config_file.h.

◆ dlv_anchor_file

char* config_file::dlv_anchor_file

DLV anchor file

Definition at line 297 of file config_file.h.

◆ dlv_anchor_list

struct config_strlist* config_file::dlv_anchor_list

DLV anchor inline

Definition at line 299 of file config_file.h.

◆ dns64_prefix

char* config_file::dns64_prefix

Definition at line 418 of file config_file.h.

◆ dns64_synthall

int config_file::dns64_synthall

Definition at line 421 of file config_file.h.

◆ dnscrypt

int config_file::dnscrypt

DNSCrypt true to enable dnscrypt

Definition at line 485 of file config_file.h.

◆ dnscrypt_nonce_cache_size

size_t config_file::dnscrypt_nonce_cache_size

memory size in bytes for dnscrypt nonces cache

Definition at line 503 of file config_file.h.

◆ dnscrypt_nonce_cache_slabs

size_t config_file::dnscrypt_nonce_cache_slabs

number of slabs for dnscrypt nonces cache

Definition at line 505 of file config_file.h.

◆ dnscrypt_port

int config_file::dnscrypt_port

port on which to provide dnscrypt service

Definition at line 487 of file config_file.h.

◆ dnscrypt_provider

char* config_file::dnscrypt_provider

provider name 2.dnscrypt-cert.example.com

Definition at line 489 of file config_file.h.

◆ dnscrypt_provider_cert

struct config_strlist* config_file::dnscrypt_provider_cert

dnscrypt provider certs 1.cert

Definition at line 493 of file config_file.h.

◆ dnscrypt_provider_cert_rotated

struct config_strlist* config_file::dnscrypt_provider_cert_rotated

dnscrypt provider certs 1.cert which have been rotated and should not be advertised through DNS's providername TXT record but are required to be able to handle existing traffic using the old cert.

Definition at line 497 of file config_file.h.

◆ dnscrypt_secret_key

struct config_strlist* config_file::dnscrypt_secret_key

dnscrypt secret keys 1.key

Definition at line 491 of file config_file.h.

◆ dnscrypt_shared_secret_cache_size

size_t config_file::dnscrypt_shared_secret_cache_size

memory size in bytes for dnscrypt shared secrets cache

Definition at line 499 of file config_file.h.

◆ dnscrypt_shared_secret_cache_slabs

size_t config_file::dnscrypt_shared_secret_cache_slabs

number of slabs for dnscrypt shared secrets cache

Definition at line 501 of file config_file.h.

◆ dnstap

int config_file::dnstap

true to enable dnstap support

Definition at line 424 of file config_file.h.

◆ dnstap_identity

char* config_file::dnstap_identity

dnstap "identity", hostname is used if "".

Definition at line 432 of file config_file.h.

◆ dnstap_log_client_query_messages

int config_file::dnstap_log_client_query_messages

true to log dnstap CLIENT_QUERY message events

Definition at line 441 of file config_file.h.

◆ dnstap_log_client_response_messages

int config_file::dnstap_log_client_response_messages

true to log dnstap CLIENT_RESPONSE message events

Definition at line 443 of file config_file.h.

◆ dnstap_log_forwarder_query_messages

int config_file::dnstap_log_forwarder_query_messages

true to log dnstap FORWARDER_QUERY message events

Definition at line 445 of file config_file.h.

◆ dnstap_log_forwarder_response_messages

int config_file::dnstap_log_forwarder_response_messages

true to log dnstap FORWARDER_RESPONSE message events

Definition at line 447 of file config_file.h.

◆ dnstap_log_resolver_query_messages

int config_file::dnstap_log_resolver_query_messages

true to log dnstap RESOLVER_QUERY message events

Definition at line 437 of file config_file.h.

◆ dnstap_log_resolver_response_messages

int config_file::dnstap_log_resolver_response_messages

true to log dnstap RESOLVER_RESPONSE message events

Definition at line 439 of file config_file.h.

◆ dnstap_send_identity

int config_file::dnstap_send_identity

true to send "identity" via dnstap

Definition at line 428 of file config_file.h.

◆ dnstap_send_version

int config_file::dnstap_send_version

true to send "version" via dnstap

Definition at line 430 of file config_file.h.

◆ dnstap_socket_path

char* config_file::dnstap_socket_path

dnstap socket path

Definition at line 426 of file config_file.h.

◆ dnstap_version

char* config_file::dnstap_version

dnstap "version", package version is used if "".

Definition at line 434 of file config_file.h.

◆ do_daemonize

int config_file::do_daemonize

daemonize, i.e. fork into the background.

Definition at line 406 of file config_file.h.

◆ do_ip4

int config_file::do_ip4

do ip4 query support.

Definition at line 85 of file config_file.h.

◆ do_ip6

int config_file::do_ip6

do ip6 query support.

Definition at line 87 of file config_file.h.

◆ do_tcp

int config_file::do_tcp

do tcp query support.

Definition at line 93 of file config_file.h.

◆ do_udp

int config_file::do_udp

do udp query support.

Definition at line 91 of file config_file.h.

◆ domain_insecure

struct config_strlist* config_file::domain_insecure

insecure domain list

Definition at line 301 of file config_file.h.

◆ donotquery_localhost

int config_file::donotquery_localhost

use default localhost donotqueryaddr entries

Definition at line 215 of file config_file.h.

◆ donotqueryaddrs

struct config_strlist* config_file::donotqueryaddrs

list of donotquery addresses, linked list

Definition at line 197 of file config_file.h.

◆ edns_buffer_size

size_t config_file::edns_buffer_size

EDNS buffer size to use

Definition at line 128 of file config_file.h.

◆ forwards

struct config_stub* config_file::forwards

the forward zone definitions, linked list

Definition at line 191 of file config_file.h.

◆ harden_algo_downgrade

int config_file::harden_algo_downgrade

harden against algorithm downgrade

Definition at line 230 of file config_file.h.

◆ harden_below_nxdomain

int config_file::harden_below_nxdomain

harden against queries that fall under known nxdomain names

Definition at line 226 of file config_file.h.

◆ harden_dnssec_stripped

int config_file::harden_dnssec_stripped

harden against receiving no DNSSEC data for trust anchor

Definition at line 224 of file config_file.h.

◆ harden_glue

int config_file::harden_glue

harden against spoofed glue (out of zone data)

Definition at line 222 of file config_file.h.

◆ harden_large_queries

int config_file::harden_large_queries

harden against very large query sizes

Definition at line 220 of file config_file.h.

◆ harden_referral_path

int config_file::harden_referral_path

harden the referral path, query for NS,A,AAAA and validate

Definition at line 228 of file config_file.h.

◆ harden_short_bufsize

int config_file::harden_short_bufsize

harden against very small edns buffer sizes

Definition at line 218 of file config_file.h.

◆ hide_identity

int config_file::hide_identity

do not report identity (id.server, hostname.bind)

Definition at line 275 of file config_file.h.

◆ hide_trustanchor

int config_file::hide_trustanchor

do not report trustanchor (trustanchor.unbound)

Definition at line 279 of file config_file.h.

◆ hide_version

int config_file::hide_version

do not report version (version.server, version.bind)

Definition at line 277 of file config_file.h.

◆ host_ttl

int config_file::host_ttl

host cache ttl in seconds

Definition at line 144 of file config_file.h.

◆ identity

char* config_file::identity

identity, hostname is returned if "".

Definition at line 281 of file config_file.h.

◆ if_automatic

int config_file::if_automatic

automatic interface for incoming messages. Uses ipv6 remapping, and recvmsg/sendmsg ancillary data to detect interfaces, boolean

Definition at line 163 of file config_file.h.

◆ ifs

char** config_file::ifs

interface description strings (IP addresses)

Definition at line 178 of file config_file.h.

◆ ignore_cd

int config_file::ignore_cd

ignore the CD flag in incoming queries and refuse them bogus data

Definition at line 326 of file config_file.h.

◆ incoming_num_tcp

size_t config_file::incoming_num_tcp

number of incoming tcp buffers per (per thread)

Definition at line 123 of file config_file.h.

◆ infra_cache_min_rtt

int config_file::infra_cache_min_rtt

min value for infra cache rtt

Definition at line 150 of file config_file.h.

◆ infra_cache_numhosts

size_t config_file::infra_cache_numhosts

max number of hosts in the infra cache

Definition at line 148 of file config_file.h.

◆ infra_cache_slabs

size_t config_file::infra_cache_slabs

number of slabs in the infra host cache

Definition at line 146 of file config_file.h.

◆ insecure_lan_zones

int config_file::insecure_lan_zones

insecure lan zones (don't validate AS112 zones)

Definition at line 360 of file config_file.h.

◆ ip_freebind

int config_file::ip_freebind

IP_FREEBIND socket option request on port 53 sockets

Definition at line 173 of file config_file.h.

◆ ip_ratelimit

int config_file::ip_ratelimit

ratelimit for ip addresses. 0 is off, otherwise qps (unless overridden)

Definition at line 453 of file config_file.h.

◆ ip_ratelimit_factor

int config_file::ip_ratelimit_factor

ip_ratelimit factor, 0 blocks all, 10 allows 1/10 of traffic

Definition at line 459 of file config_file.h.

◆ ip_ratelimit_size

size_t config_file::ip_ratelimit_size

memory size in bytes for ip_ratelimit cache

Definition at line 457 of file config_file.h.

◆ ip_ratelimit_slabs

size_t config_file::ip_ratelimit_slabs

number of slabs for ip_ratelimit cache

Definition at line 455 of file config_file.h.

◆ ip_transparent

int config_file::ip_transparent

IP_TRANSPARENT socket option requested on port 53 sockets

Definition at line 171 of file config_file.h.

◆ jostle_time

size_t config_file::jostle_time

number of msec to wait before items can be jostled out

Definition at line 138 of file config_file.h.

◆ keep_missing

unsigned int config_file::keep_missing

autotrust keep_missing time, in seconds. 0 is forever.

Definition at line 336 of file config_file.h.

◆ key_cache_size

size_t config_file::key_cache_size

size of the key cache

Definition at line 341 of file config_file.h.

◆ key_cache_slabs

size_t config_file::key_cache_slabs

slabs in the key cache.

Definition at line 343 of file config_file.h.

◆ local_data

struct config_strlist* config_file::local_data

local data RRs configured

Definition at line 354 of file config_file.h.

◆ local_zone_overrides

struct config_str3list* config_file::local_zone_overrides

local zone override types per netblock

Definition at line 356 of file config_file.h.

◆ local_zone_tags

struct config_strbytelist* config_file::local_zone_tags

list of zonename, tagbitlist

Definition at line 362 of file config_file.h.

◆ local_zones

struct config_str2list* config_file::local_zones

local zones config

Definition at line 348 of file config_file.h.

◆ local_zones_disable_default

int config_file::local_zones_disable_default

do not add any default local zone

Definition at line 352 of file config_file.h.

◆ local_zones_nodefault

struct config_strlist* config_file::local_zones_nodefault

local zones nodefault list

Definition at line 350 of file config_file.h.

◆ log_identity

char* config_file::log_identity

log identity to report

Definition at line 272 of file config_file.h.

◆ log_queries

int config_file::log_queries

log queries with one line per query

Definition at line 268 of file config_file.h.

◆ log_replies

int config_file::log_replies

log replies with one line per reply

Definition at line 270 of file config_file.h.

◆ log_time_ascii

int config_file::log_time_ascii

log timestamp in ascii UTC

Definition at line 266 of file config_file.h.

◆ logfile

char* config_file::logfile

filename to log to.

Definition at line 259 of file config_file.h.

◆ low_rtt

int config_file::low_rtt

what time in msec is a low rtt destination

Definition at line 159 of file config_file.h.

◆ low_rtt_permil

int config_file::low_rtt_permil

percent*10, how many times in 1000 to pick low rtt destinations

Definition at line 157 of file config_file.h.

◆ max_negative_ttl

int config_file::max_negative_ttl

the number of seconds maximal negative TTL for SOA in auth

Definition at line 246 of file config_file.h.

◆ max_ttl

int config_file::max_ttl

the number of seconds maximal TTL used for RRsets and messages

Definition at line 242 of file config_file.h.

◆ max_udp_size

size_t config_file::max_udp_size

Definition at line 415 of file config_file.h.

◆ min_ttl

int config_file::min_ttl

the number of seconds minimum TTL used for RRsets and messages

Definition at line 244 of file config_file.h.

◆ minimal_responses

int config_file::minimal_responses

Definition at line 409 of file config_file.h.

◆ module_conf

char* config_file::module_conf

the module configuration string

Definition at line 286 of file config_file.h.

◆ msg_buffer_size

size_t config_file::msg_buffer_size

number of bytes buffer size for DNS messages

Definition at line 130 of file config_file.h.

◆ msg_cache_size

size_t config_file::msg_cache_size

size of the message cache

Definition at line 132 of file config_file.h.

◆ msg_cache_slabs

size_t config_file::msg_cache_slabs

slabs in the message cache.

Definition at line 134 of file config_file.h.

◆ neg_cache_size

size_t config_file::neg_cache_size

size of the neg cache

Definition at line 345 of file config_file.h.

◆ num_ifs

int config_file::num_ifs

number of interfaces to open. If 0 default all interfaces.

Definition at line 176 of file config_file.h.

◆ num_out_ifs

int config_file::num_out_ifs

number of outgoing interfaces to open. If 0 default all interfaces.

Definition at line 182 of file config_file.h.

◆ num_queries_per_thread

size_t config_file::num_queries_per_thread

number of queries every thread can service

Definition at line 136 of file config_file.h.

◆ num_tags

int config_file::num_tags

number of items in the taglist

Definition at line 380 of file config_file.h.

◆ num_threads

int config_file::num_threads

number of threads to create

Definition at line 80 of file config_file.h.

◆ out_ifs

char** config_file::out_ifs

outgoing interface description strings (IP addresses)

Definition at line 184 of file config_file.h.

◆ outgoing_avail_ports

int* config_file::outgoing_avail_ports

allowed udp port numbers, array with 0 if not allowed

Definition at line 125 of file config_file.h.

◆ outgoing_num_ports

int config_file::outgoing_num_ports

outgoing port range number of ports (per thread)

Definition at line 119 of file config_file.h.

◆ outgoing_num_tcp

size_t config_file::outgoing_num_tcp

number of outgoing tcp buffers per (per thread)

Definition at line 121 of file config_file.h.

◆ outgoing_tcp_mss

int config_file::outgoing_tcp_mss

maximum segment size of tcp socket for outgoing queries

Definition at line 101 of file config_file.h.

◆ permit_small_holddown

int config_file::permit_small_holddown

permit small holddown values, allowing 5011 rollover very fast

Definition at line 338 of file config_file.h.

◆ pidfile

char* config_file::pidfile

pidfile to write pid to.

Definition at line 261 of file config_file.h.

◆ port

int config_file::port

port on which queries are answered.

Definition at line 83 of file config_file.h.

◆ prefer_ip6

int config_file::prefer_ip6

prefer ip6 upstream queries.

Definition at line 89 of file config_file.h.

◆ prefetch

int config_file::prefetch

if prefetching of messages should be performed.

Definition at line 248 of file config_file.h.

◆ prefetch_key

int config_file::prefetch_key

if prefetching of DNSKEYs should be performed.

Definition at line 250 of file config_file.h.

◆ private_address

struct config_strlist* config_file::private_address

strip away these private addrs from answers, no DNS Rebinding

Definition at line 236 of file config_file.h.

◆ private_domain

struct config_strlist* config_file::private_domain

allow domain (and subdomains) to use private address space

Definition at line 238 of file config_file.h.

◆ python_script

char* config_file::python_script

Python script file

Definition at line 400 of file config_file.h.

◆ qname_minimisation

int config_file::qname_minimisation

minimise outgoing QNAME and hide original QTYPE if possible

Definition at line 474 of file config_file.h.

◆ qname_minimisation_strict

int config_file::qname_minimisation_strict

minimise QNAME in strict mode, minimise according to RFC. Do not apply fallback

Definition at line 477 of file config_file.h.

◆ ratelimit

int config_file::ratelimit

ratelimit for domains. 0 is off, otherwise qps (unless overridden)

Definition at line 462 of file config_file.h.

◆ ratelimit_below_domain

struct config_str2list* config_file::ratelimit_below_domain

ratelimits below domain

Definition at line 470 of file config_file.h.

◆ ratelimit_factor

int config_file::ratelimit_factor

ratelimit factor, 0 blocks all, 10 allows 1/10 of traffic

Definition at line 472 of file config_file.h.

◆ ratelimit_for_domain

struct config_str2list* config_file::ratelimit_for_domain

ratelimits for domain (exact match)

Definition at line 468 of file config_file.h.

◆ ratelimit_size

size_t config_file::ratelimit_size

memory size in bytes for ratelimit cache

Definition at line 466 of file config_file.h.

◆ ratelimit_slabs

size_t config_file::ratelimit_slabs

number of slabs for ratelimit cache

Definition at line 464 of file config_file.h.

◆ remote_control_enable

int config_file::remote_control_enable

remote control section. enable toggle.

Definition at line 383 of file config_file.h.

◆ respip_actions

struct config_str2list* config_file::respip_actions

list of response-driven access control entries, linked list

Definition at line 374 of file config_file.h.

◆ respip_data

struct config_str2list* config_file::respip_data

RRs configured for response-driven access controls

Definition at line 376 of file config_file.h.

◆ respip_tags

struct config_strbytelist* config_file::respip_tags

list of IP-netblock, tagbitlist

Definition at line 372 of file config_file.h.

◆ root_hints

struct config_strlist* config_file::root_hints

the root hints

Definition at line 187 of file config_file.h.

◆ root_key_sentinel

int config_file::root_key_sentinel

enable root key sentinel

Definition at line 305 of file config_file.h.

◆ rrset_cache_size

size_t config_file::rrset_cache_size

size of the rrset cache

Definition at line 140 of file config_file.h.

◆ rrset_cache_slabs

size_t config_file::rrset_cache_slabs

slabs in the rrset cache

Definition at line 142 of file config_file.h.

◆ rrset_roundrobin

int config_file::rrset_roundrobin

Definition at line 412 of file config_file.h.

◆ serve_expired

int config_file::serve_expired

serve expired entries and prefetch them

Definition at line 328 of file config_file.h.

◆ server_cert_file

char* config_file::server_cert_file

certificate file for server

Definition at line 393 of file config_file.h.

◆ server_key_file

char* config_file::server_key_file

private key file for server

Definition at line 391 of file config_file.h.

◆ shm_enable

int config_file::shm_enable

SHM data - true if shm is enabled

Definition at line 479 of file config_file.h.

◆ shm_key

int config_file::shm_key

SHM data - key for the shm

Definition at line 481 of file config_file.h.

◆ so_rcvbuf

size_t config_file::so_rcvbuf

SO_RCVBUF size to set on port 53 UDP socket

Definition at line 165 of file config_file.h.

◆ so_reuseport

int config_file::so_reuseport

SO_REUSEPORT requested on port 53 sockets

Definition at line 169 of file config_file.h.

◆ so_sndbuf

size_t config_file::so_sndbuf

SO_SNDBUF size to set on port 53 UDP socket

Definition at line 167 of file config_file.h.

◆ ssl_port

int config_file::ssl_port

port on which to provide ssl service

Definition at line 108 of file config_file.h.

◆ ssl_service_key

char* config_file::ssl_service_key

private key file for dnstcp-ssl service (enabled if not NULL)

Definition at line 104 of file config_file.h.

◆ ssl_service_pem

char* config_file::ssl_service_pem

public key file for dnstcp-ssl service

Definition at line 106 of file config_file.h.

◆ ssl_upstream

int config_file::ssl_upstream

if outgoing tcp connections use SSL

Definition at line 110 of file config_file.h.

◆ stat_cumulative

int config_file::stat_cumulative

if false, statistics values are reset after printing them

Definition at line 75 of file config_file.h.

◆ stat_extended

int config_file::stat_extended

if true, the statistics are kept in greater detail

Definition at line 77 of file config_file.h.

◆ stat_interval

int config_file::stat_interval

statistics interval (in seconds)

Definition at line 73 of file config_file.h.

◆ stubs

struct config_stub* config_file::stubs

the stub definitions, linked list

Definition at line 189 of file config_file.h.

◆ tagname

char** config_file::tagname

tag list, array with tagname[i] is malloced string

Definition at line 378 of file config_file.h.

◆ target_fetch_policy

char* config_file::target_fetch_policy

the target fetch policy for the iterator

Definition at line 155 of file config_file.h.

◆ tcp_mss

int config_file::tcp_mss

maximum segment size of tcp socket which queries are answered

Definition at line 99 of file config_file.h.

◆ tcp_upstream

int config_file::tcp_upstream

tcp upstream queries (no UDP upstream queries)

Definition at line 95 of file config_file.h.

◆ tls_additional_port

struct config_strlist* config_file::tls_additional_port

additional tls ports

Definition at line 116 of file config_file.h.

◆ tls_cert_bundle

char* config_file::tls_cert_bundle

cert bundle for outgoing connections

Definition at line 112 of file config_file.h.

◆ tls_win_cert

int config_file::tls_win_cert

should the system certificate store get added to the cert bundle

Definition at line 114 of file config_file.h.

◆ trust_anchor_file_list

struct config_strlist* config_file::trust_anchor_file_list

files with trusted DS and DNSKEYs in zonefile format, list

Definition at line 289 of file config_file.h.

◆ trust_anchor_list

struct config_strlist* config_file::trust_anchor_list

list of trustanchor keys, linked list

Definition at line 291 of file config_file.h.

◆ trust_anchor_signaling

int config_file::trust_anchor_signaling

send key tag query

Definition at line 303 of file config_file.h.

◆ trusted_keys_file_list

struct config_strlist* config_file::trusted_keys_file_list

files with trusted DNSKEYs in named.conf format, list

Definition at line 295 of file config_file.h.

◆ udp_upstream_without_downstream

int config_file::udp_upstream_without_downstream

udp upstream enabled when no UDP downstream is enabled (do_udp no)

Definition at line 97 of file config_file.h.

◆ unblock_lan_zones

int config_file::unblock_lan_zones

unblock lan zones (reverse lookups for AS112 zones)

Definition at line 358 of file config_file.h.

◆ unwanted_threshold

size_t config_file::unwanted_threshold

what threshold for unwanted action.

Definition at line 240 of file config_file.h.

◆ use_caps_bits_for_id

int config_file::use_caps_bits_for_id

use 0x20 bits in query as random ID bits

Definition at line 232 of file config_file.h.

◆ use_syslog

int config_file::use_syslog

should log messages be sent to syslogd

Definition at line 264 of file config_file.h.

◆ use_systemd

int config_file::use_systemd

Use systemd socket activation.

Definition at line 403 of file config_file.h.

◆ username

char* config_file::username

username to change to, if not "".

Definition at line 255 of file config_file.h.

◆ val_clean_additional

int config_file::val_clean_additional

should validator clean additional section for secure msgs

Definition at line 316 of file config_file.h.

◆ val_date_override

int32_t config_file::val_date_override

if not 0, this value is the validation date for RRSIGs

Definition at line 308 of file config_file.h.

◆ val_log_level

int config_file::val_log_level

log bogus messages by the validator

Definition at line 318 of file config_file.h.

◆ val_log_squelch

int config_file::val_log_squelch

squelch val_log_level to log - this is library goes to callback

Definition at line 320 of file config_file.h.

◆ val_nsec3_key_iterations

char* config_file::val_nsec3_key_iterations

nsec3 maximum iterations per key size, string

Definition at line 330 of file config_file.h.

◆ val_permissive_mode

int config_file::val_permissive_mode

should validator allow bogus messages to go through

Definition at line 322 of file config_file.h.

◆ val_sig_skew_max

int32_t config_file::val_sig_skew_max

the maximum for signature clock skew

Definition at line 312 of file config_file.h.

◆ val_sig_skew_min

int32_t config_file::val_sig_skew_min

the minimum for signature clock skew

Definition at line 310 of file config_file.h.

◆ verbosity

int config_file::verbosity

verbosity level as specified in the config file

Definition at line 70 of file config_file.h.

◆ version

char* config_file::version

version, package version returned if "".

Definition at line 283 of file config_file.h.

◆ views

struct config_view* config_file::views

the views definitions, linked list

Definition at line 195 of file config_file.h.


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