|
unbound 0.1
|
The configuration options. More...
#include <config_file.h>
Data Fields | |
| int | verbosity |
| verbosity level as specified in the config file | |
| int | stat_interval |
| statistics interval (in seconds) | |
| int | stat_cumulative |
| if false, statistics values are reset after printing them | |
| int | stat_extended |
| if true, the statistics are kept in greater detail | |
| int | stat_inhibit_zero |
| if true, inhibits a lot of =0 lines from the extended stats output | |
| int | num_threads |
| number of threads to create | |
| int | port |
| port on which queries are answered. | |
| int | do_ip4 |
| do ip4 query support. | |
| int | do_ip6 |
| do ip6 query support. | |
| int | do_nat64 |
| do nat64 on queries | |
| int | prefer_ip4 |
| prefer ip4 upstream queries. | |
| int | prefer_ip6 |
| prefer ip6 upstream queries. | |
| int | do_udp |
| do udp query support. | |
| int | do_tcp |
| do tcp query support. | |
| size_t | max_reuse_tcp_queries |
| max number of queries on a reuse connection. | |
| int | tcp_reuse_timeout |
| timeout for REUSE entries in milliseconds. | |
| int | tcp_auth_query_timeout |
| timeout in milliseconds for TCP queries to auth servers. | |
| int | tcp_upstream |
| tcp upstream queries (no UDP upstream queries) | |
| int | udp_upstream_without_downstream |
| udp upstream enabled when no UDP downstream is enabled (do_udp no) | |
| int | tcp_mss |
| maximum segment size of tcp socket which queries are answered | |
| int | outgoing_tcp_mss |
| maximum segment size of tcp socket for outgoing queries | |
| int | tcp_idle_timeout |
| tcp idle timeout, in msec | |
| int | do_tcp_keepalive |
| do edns tcp keepalive | |
| int | tcp_keepalive_timeout |
| tcp keepalive timeout, in msec | |
| int | sock_queue_timeout |
| timeout of packets sitting in the socket queue | |
| struct config_strlist * | proxy_protocol_port |
| proxy protocol ports | |
| struct config_strlist * | allow_proxy |
| the allow proxy list that are allowed proxy-protocol use | |
| char * | ssl_service_key |
| private key file for dnstcp-ssl service (enabled if not NULL) | |
| char * | ssl_service_pem |
| public key file for dnstcp-ssl service | |
| int | ssl_port |
| port on which to provide ssl service | |
| int | ssl_upstream |
| if outgoing tcp connections use SSL | |
| char * | tls_cert_bundle |
| cert bundle for outgoing connections | |
| int | tls_win_cert |
| should the system certificate store get added to the cert bundle | |
| struct config_strlist * | tls_additional_port |
| additional tls ports | |
| struct config_strlist_head | tls_session_ticket_keys |
| secret key used to encrypt and decrypt TLS session ticket | |
| char * | tls_ciphers |
| TLS ciphers. | |
| char * | tls_ciphersuites |
| TLS chiphersuites (TLSv1.3). | |
| int | tls_use_sni |
| if SNI is to be used | |
| char * | tls_protocols |
| TLS protocols. | |
| int | https_port |
| port on which to provide DNS over HTTPS service | |
| char * | http_endpoint |
| endpoint for HTTP service | |
| uint32_t | http_max_streams |
| MAX_CONCURRENT_STREAMS HTTP/2 setting. | |
| size_t | http_query_buffer_size |
| maximum size of all HTTP2 query buffers combined. | |
| size_t | http_response_buffer_size |
| maximum size of all HTTP2 response buffers combined. | |
| int | http_nodelay |
| set TCP_NODELAY option for http sockets | |
| int | http_notls_downstream |
| Disable TLS for http sockets downstream. | |
| int | quic_port |
| port on which to provide DNS over QUIC service | |
| size_t | quic_size |
| size of the quic data, max bytes | |
| int | outgoing_num_ports |
| outgoing port range number of ports (per thread) | |
| size_t | outgoing_num_tcp |
| number of outgoing tcp buffers per (per thread) | |
| size_t | incoming_num_tcp |
| number of incoming tcp buffers per (per thread) | |
| int * | outgoing_avail_ports |
| allowed udp port numbers, array with 0 if not allowed | |
| size_t | edns_buffer_size |
| EDNS buffer size to use. | |
| size_t | stream_wait_size |
| size of the stream wait buffers, max | |
| size_t | msg_buffer_size |
| number of bytes buffer size for DNS messages | |
| size_t | msg_cache_size |
| size of the message cache | |
| size_t | msg_cache_slabs |
| slabs in the message cache. | |
| size_t | num_queries_per_thread |
| number of queries every thread can service | |
| size_t | jostle_time |
| number of msec to wait before items can be jostled out | |
| size_t | rrset_cache_size |
| size of the rrset cache | |
| size_t | rrset_cache_slabs |
| slabs in the rrset cache | |
| int | host_ttl |
| host cache ttl in seconds | |
| size_t | infra_cache_slabs |
| number of slabs in the infra host cache | |
| size_t | infra_cache_numhosts |
| max number of hosts in the infra cache | |
| int | infra_cache_min_rtt |
| min value for infra cache rtt (min retransmit timeout) | |
| int | infra_cache_max_rtt |
| max value for infra cache rtt (max retransmit timeout) | |
| int | infra_keep_probing |
| keep probing hosts that are down | |
| int | delay_close |
| delay close of udp-timeouted ports, if 0 no delayclose. | |
| int | udp_connect |
| udp_connect enable uses UDP connect to mitigate ICMP side channel | |
| char * | target_fetch_policy |
| the target fetch policy for the iterator | |
| int | fast_server_permil |
| percent*10, how many times in 1000 to pick from the fastest destinations | |
| size_t | fast_server_num |
| number of fastest server to select from | |
| int | if_automatic |
| automatic interface for incoming messages. | |
| char * | if_automatic_ports |
| extra ports to open if if_automatic enabled, or NULL for default | |
| size_t | so_rcvbuf |
| SO_RCVBUF size to set on port 53 UDP socket. | |
| size_t | so_sndbuf |
| SO_SNDBUF size to set on port 53 UDP socket. | |
| int | so_reuseport |
| SO_REUSEPORT requested on port 53 sockets. | |
| int | ip_transparent |
| IP_TRANSPARENT socket option requested on port 53 sockets. | |
| int | ip_freebind |
| IP_FREEBIND socket option request on port 53 sockets. | |
| int | ip_dscp |
| IP_TOS socket option requested on port 53 sockets. | |
| int | num_ifs |
| number of interfaces to open. | |
| char ** | ifs |
| interface description strings (IP addresses) | |
| int | num_out_ifs |
| number of outgoing interfaces to open. | |
| char ** | out_ifs |
| outgoing interface description strings (IP addresses) | |
| struct config_strlist * | root_hints |
| the root hints | |
| struct config_stub * | stubs |
| the stub definitions, linked list | |
| struct config_stub * | forwards |
| the forward zone definitions, linked list | |
| struct config_auth * | auths |
| the auth zone definitions, linked list | |
| struct config_view * | views |
| the views definitions, linked list | |
| struct config_strlist * | donotqueryaddrs |
| list of donotquery addresses, linked list | |
| struct config_str2list * | acls |
| list of access control entries, linked list | |
| int | donotquery_localhost |
| use default localhost donotqueryaddr entries | |
| struct config_str2list * | tcp_connection_limits |
| list of tcp connection limitss, linked list | |
| int | harden_short_bufsize |
| harden against very small edns buffer sizes | |
| int | harden_large_queries |
| harden against very large query sizes | |
| int | harden_glue |
| harden against spoofed glue (out of zone data) | |
| int | harden_unverified_glue |
| harden against unverified glue | |
| int | harden_dnssec_stripped |
| harden against receiving no DNSSEC data for trust anchor | |
| int | harden_below_nxdomain |
| harden against queries that fall under known nxdomain names | |
| int | harden_referral_path |
| harden the referral path, query for NS,A,AAAA and validate | |
| int | harden_algo_downgrade |
| harden against algorithm downgrade | |
| int | harden_unknown_additional |
| harden against unknown records in the authority section and in the additional section | |
| int | harden_cname_follow |
| harden to follow cname redirections | |
| int | use_caps_bits_for_id |
| use 0x20 bits in query as random ID bits | |
| struct config_strlist * | caps_whitelist |
| 0x20 whitelist, domains that do not use capsforid | |
| struct config_strlist * | private_address |
| strip away these private addrs from answers, no DNS Rebinding | |
| struct config_strlist * | private_domain |
| allow domain (and subdomains) to use private address space | |
| size_t | unwanted_threshold |
| what threshold for unwanted action. | |
| int | max_ttl |
| the number of seconds maximal TTL used for RRsets and messages | |
| int | min_ttl |
| the number of seconds minimum TTL used for RRsets and messages | |
| int | max_negative_ttl |
| the number of seconds maximal negative TTL for SOA in auth | |
| int | min_negative_ttl |
| the number of seconds minimal negative TTL for SOA in auth | |
| int | prefetch |
| if prefetching of messages should be performed. | |
| int | prefetch_key |
| if prefetching of DNSKEYs should be performed. | |
| int | deny_any |
| deny queries of type ANY with an empty answer | |
| char * | chrootdir |
| chrootdir, if not "" or chroot will be done | |
| char * | username |
| username to change to, if not "". | |
| char * | directory |
| working directory | |
| char * | logfile |
| filename to log to. | |
| char * | pidfile |
| pidfile to write pid to. | |
| int | use_syslog |
| should log messages be sent to syslogd | |
| int | log_time_ascii |
| log timestamp in ascii UTC | |
| int | log_time_iso |
| log timestamp in ISO8601 format | |
| int | log_queries |
| log queries with one line per query | |
| int | log_replies |
| log replies with one line per reply | |
| int | log_tag_queryreply |
| tag log_queries and log_replies for filtering | |
| int | log_local_actions |
| log every local-zone hit | |
| int | log_servfail |
| log servfails with a reason | |
| char * | log_identity |
| log identity to report | |
| int | log_destaddr |
| log dest addr for log_replies | |
| int | log_thread_id |
| log linux thread ID | |
| int | hide_identity |
| do not report identity (id.server, hostname.bind) | |
| int | hide_version |
| do not report version (version.server, version.bind) | |
| int | hide_trustanchor |
| do not report trustanchor (trustanchor.unbound) | |
| int | hide_http_user_agent |
| do not report the User-Agent HTTP header | |
| char * | identity |
| identity, hostname is returned if "". | |
| char * | version |
| version, package version returned if "". | |
| char * | http_user_agent |
| User-Agent for HTTP header. | |
| char * | nsid_cfg_str |
| nsid | |
| uint8_t * | nsid |
| uint16_t | nsid_len |
| char * | module_conf |
| the module configuration string | |
| struct config_strlist * | trust_anchor_file_list |
| files with trusted DS and DNSKEYs in zonefile format, list | |
| struct config_strlist * | trust_anchor_list |
| list of trustanchor keys, linked list | |
| struct config_strlist * | auto_trust_anchor_file_list |
| files with 5011 autotrust tracked keys | |
| struct config_strlist * | trusted_keys_file_list |
| files with trusted DNSKEYs in named.conf format, list | |
| struct config_strlist * | domain_insecure |
| insecure domain list | |
| int | trust_anchor_signaling |
| send key tag query | |
| int | root_key_sentinel |
| enable root key sentinel | |
| int32_t | val_date_override |
| if not 0, this value is the validation date for RRSIGs | |
| int32_t | val_sig_skew_min |
| the minimum for signature clock skew | |
| int32_t | val_sig_skew_max |
| the maximum for signature clock skew | |
| int32_t | val_max_restart |
| max number of query restarts, number of IPs to probe | |
| int | bogus_ttl |
| this value sets the number of seconds before revalidating bogus | |
| int | val_clean_additional |
| should validator clean additional section for secure msgs | |
| int | val_log_level |
| log bogus messages by the validator | |
| int | val_log_squelch |
| squelch val_log_level to log - this is library goes to callback | |
| int | val_permissive_mode |
| should validator allow bogus messages to go through | |
| int | aggressive_nsec |
| use cached NSEC records to synthesise (negative) answers | |
| int | ignore_cd |
| ignore the CD flag in incoming queries and refuse them bogus data | |
| int | disable_edns_do |
| disable EDNS DO flag in outgoing requests | |
| int | serve_expired |
| serve expired entries and prefetch them | |
| int | serve_expired_ttl |
| serve expired entries until TTL after expiration | |
| int | serve_expired_ttl_reset |
| reset serve expired TTL after failed update attempt | |
| int | serve_expired_reply_ttl |
| TTL for the serve expired replies. | |
| int | serve_expired_client_timeout |
| serve expired entries only after trying to update the entries and this timeout (in milliseconds) is reached | |
| int | serve_original_ttl |
| serve original TTLs rather than decrementing ones | |
| char * | val_nsec3_key_iterations |
| nsec3 maximum iterations per key size, string | |
| int | zonemd_permissive_mode |
| if zonemd failures are permitted, only logged | |
| unsigned int | add_holddown |
| autotrust add holddown time, in seconds | |
| unsigned int | del_holddown |
| autotrust del holddown time, in seconds | |
| unsigned int | keep_missing |
| autotrust keep_missing time, in seconds. | |
| int | permit_small_holddown |
| permit small holddown values, allowing 5011 rollover very fast | |
| size_t | key_cache_size |
| size of the key cache | |
| size_t | key_cache_slabs |
| slabs in the key cache. | |
| size_t | neg_cache_size |
| size of the neg cache | |
| struct config_str2list * | local_zones |
| local zones config | |
| struct config_strlist * | local_zones_nodefault |
| local zones nodefault list | |
| int | local_zones_disable_default |
| do not add any default local zone | |
| struct config_strlist * | local_data |
| local data RRs configured | |
| struct config_str3list * | local_zone_overrides |
| local zone override types per netblock | |
| int | unblock_lan_zones |
| unblock lan zones (reverse lookups for AS112 zones) | |
| int | insecure_lan_zones |
| insecure lan zones (don't validate AS112 zones) | |
| struct config_strbytelist * | local_zone_tags |
| list of zonename, tagbitlist | |
| struct config_strbytelist * | acl_tags |
| list of aclname, tagbitlist | |
| struct config_str3list * | acl_tag_actions |
| list of aclname, tagname, localzonetype | |
| struct config_str3list * | acl_tag_datas |
| list of aclname, tagname, redirectdata | |
| struct config_str2list * | acl_view |
| list of aclname, view | |
| struct config_str2list * | interface_actions |
| list of interface action entries, linked list | |
| struct config_strbytelist * | interface_tags |
| list of interface, tagbitlist | |
| struct config_str3list * | interface_tag_actions |
| list of interface, tagname, localzonetype | |
| struct config_str3list * | interface_tag_datas |
| list of interface, tagname, redirectdata | |
| struct config_str2list * | interface_view |
| list of interface, view | |
| struct config_strbytelist * | respip_tags |
| list of IP-netblock, tagbitlist | |
| struct config_str2list * | respip_actions |
| list of response-driven access control entries, linked list | |
| struct config_str2list * | respip_data |
| RRs configured for response-driven access controls. | |
| char ** | tagname |
| tag list, array with tagname[i] is malloced string | |
| int | num_tags |
| number of items in the taglist | |
| int | remote_control_enable |
| remote control section. | |
| struct config_strlist_head | control_ifs |
| the interfaces the remote control should listen on | |
| int | control_use_cert |
| if the use-cert option is set | |
| int | control_port |
| port number for the control port | |
| char * | server_key_file |
| private key file for server | |
| char * | server_cert_file |
| certificate file for server | |
| char * | control_key_file |
| private key file for unbound-control | |
| char * | control_cert_file |
| certificate file for unbound-control | |
| struct config_strlist * | python_script |
| Python script file. | |
| struct config_strlist * | dynlib_file |
| Dynamic library file. | |
| int | use_systemd |
| Use systemd socket activation. | |
| int | do_daemonize |
| daemonize, i.e. | |
| int | minimal_responses |
| int | rrset_roundrobin |
| int | unknown_server_time_limit |
| int | discard_timeout |
| Wait time to drop recursion replies. | |
| int | wait_limit |
| Wait limit for number of replies per IP address. | |
| int | wait_limit_cookie |
| Wait limit for number of replies per IP address with cookie. | |
| struct config_str2list * | wait_limit_netblock |
| wait limit per netblock | |
| struct config_str2list * | wait_limit_cookie_netblock |
| wait limit with cookie per netblock | |
| size_t | max_udp_size |
| char * | dns64_prefix |
| int | dns64_synthall |
| struct config_strlist * | dns64_ignore_aaaa |
| ignore AAAAs for these domain names and use A record anyway | |
| char * | nat64_prefix |
| int | dnstap |
| true to enable dnstap support | |
| int | dnstap_bidirectional |
| using bidirectional frame streams if true | |
| char * | dnstap_socket_path |
| dnstap socket path | |
| char * | dnstap_ip |
| dnstap IP | |
| int | dnstap_tls |
| dnstap TLS enable | |
| char * | dnstap_tls_server_name |
| dnstap tls server authentication name | |
| char * | dnstap_tls_cert_bundle |
| dnstap server cert bundle | |
| char * | dnstap_tls_client_key_file |
| dnstap client key for client authentication | |
| char * | dnstap_tls_client_cert_file |
| dnstap client cert for client authentication | |
| int | dnstap_send_identity |
| true to send "identity" via dnstap | |
| int | dnstap_send_version |
| true to send "version" via dnstap | |
| char * | dnstap_identity |
| dnstap "identity", hostname is used if "". | |
| char * | dnstap_version |
| dnstap "version", package version is used if "". | |
| int | dnstap_sample_rate |
| dnstap sample rate | |
| int | dnstap_log_resolver_query_messages |
| true to log dnstap RESOLVER_QUERY message events | |
| int | dnstap_log_resolver_response_messages |
| true to log dnstap RESOLVER_RESPONSE message events | |
| int | dnstap_log_client_query_messages |
| true to log dnstap CLIENT_QUERY message events | |
| int | dnstap_log_client_response_messages |
| true to log dnstap CLIENT_RESPONSE message events | |
| int | dnstap_log_forwarder_query_messages |
| true to log dnstap FORWARDER_QUERY message events | |
| int | dnstap_log_forwarder_response_messages |
| true to log dnstap FORWARDER_RESPONSE message events | |
| int | disable_dnssec_lame_check |
| true to disable DNSSEC lameness check in iterator | |
| int | ip_ratelimit |
| ratelimit for ip addresses. | |
| int | ip_ratelimit_cookie |
| ratelimit for ip addresses with a valid DNS Cookie. | |
| size_t | ip_ratelimit_slabs |
| number of slabs for ip_ratelimit cache | |
| size_t | ip_ratelimit_size |
| memory size in bytes for ip_ratelimit cache | |
| int | ip_ratelimit_factor |
| ip_ratelimit factor, 0 blocks all, 10 allows 1/10 of traffic | |
| int | ip_ratelimit_backoff |
| ratelimit backoff, when on, if the limit is reached it is considered an attack and it backs off until 'demand' decreases over the RATE_WINDOW. | |
| int | ratelimit |
| ratelimit for domains. | |
| size_t | ratelimit_slabs |
| number of slabs for ratelimit cache | |
| size_t | ratelimit_size |
| memory size in bytes for ratelimit cache | |
| struct config_str2list * | ratelimit_for_domain |
| ratelimits for domain (exact match) | |
| struct config_str2list * | ratelimit_below_domain |
| ratelimits below domain | |
| int | ratelimit_factor |
| ratelimit factor, 0 blocks all, 10 allows 1/10 of traffic | |
| int | ratelimit_backoff |
| ratelimit backoff, when on, if the limit is reached it is considered an attack and it backs off until 'demand' decreases over the RATE_WINDOW. | |
| int | outbound_msg_retry |
| number of retries on outgoing queries | |
| int | max_sent_count |
| max sent queries per qstate; resets on query restarts (e.g., CNAMES) and referrals | |
| int | max_query_restarts |
| max number of query restarts; determines max length of CNAME chain | |
| int | qname_minimisation |
| minimise outgoing QNAME and hide original QTYPE if possible | |
| int | qname_minimisation_strict |
| minimise QNAME in strict mode, minimise according to RFC. | |
| int | shm_enable |
| SHM data - true if shm is enabled. | |
| int | shm_key |
| SHM data - key for the shm. | |
| struct config_str2list * | edns_client_strings |
| list of EDNS client string entries, linked list | |
| uint16_t | edns_client_string_opcode |
| EDNS opcode to use for EDNS client strings. | |
| int | dnscrypt |
| DNSCrypt. | |
| int | dnscrypt_port |
| port on which to provide dnscrypt service | |
| char * | dnscrypt_provider |
| provider name 2.dnscrypt-cert.example.com | |
| struct config_strlist * | dnscrypt_secret_key |
| dnscrypt secret keys 1.key | |
| struct config_strlist * | dnscrypt_provider_cert |
| dnscrypt provider certs 1.cert | |
| struct config_strlist * | 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. | |
| size_t | dnscrypt_shared_secret_cache_size |
| memory size in bytes for dnscrypt shared secrets cache | |
| size_t | dnscrypt_shared_secret_cache_slabs |
| number of slabs for dnscrypt shared secrets cache | |
| size_t | dnscrypt_nonce_cache_size |
| memory size in bytes for dnscrypt nonces cache | |
| size_t | dnscrypt_nonce_cache_slabs |
| number of slabs for dnscrypt nonces cache | |
| int | pad_responses |
| EDNS padding according to RFC7830 and RFC8467. | |
| size_t | pad_responses_block_size |
| block size with which to pad encrypted responses (default: 468) | |
| int | pad_queries |
| true to enable padding of queries (default: on) | |
| size_t | pad_queries_block_size |
| block size with which to pad encrypted queries (default: 128) | |
| int | do_answer_cookie |
| IPsec module. | |
| uint8_t | cookie_secret [40] |
| cookie secret | |
| size_t | cookie_secret_len |
| cookie secret length | |
| char * | cookie_secret_file |
| path to cookie secret store | |
| int | ede |
| respond with Extended DNS Errors (RFC8914) | |
| int | ede_serve_expired |
| serve EDE code 3 - Stale Answer (RFC8914) for expired entries | |
| int | dns_error_reporting |
| send DNS Error Reports to upstream reporting agent (RFC9567) | |
| size_t | iter_scrub_ns |
| limit on NS RRs in RRset for the iterator scrubber. | |
| int | iter_scrub_cname |
| limit on CNAME, DNAME RRs in answer for the iterator scrubber. | |
| int | iter_scrub_rrsig |
| limit on RRSIGs for an RRset for the iterator scrubber. | |
| int | max_global_quota |
| limit on upstream queries for an incoming query and subqueries. | |
| int | val_validation_attempts |
| limit on validator validation attempts. | |
| int | val_hash_attempts |
| limit on validator hash attempts. | |
| int | iter_scrub_promiscuous |
| Should the iterator scrub promiscuous NS rrsets, from positive answers. | |
| size_t | iter_scrub_glue_count |
| limit on number of glue RRs in a response. | |
| int | delegpt_max_addr |
| Max number of addresses in a delegation point. | |
| int | delegpt_max_ns |
| Max number of nameserver names in a delagation point. | |
The configuration options.
Strings are malloced.
| int config_file::verbosity |
verbosity level as specified in the config file
Referenced by apply_settings(), config_create(), config_create_forlib(), context_finalize(), morechecks(), service_init(), and ub_ctx_debuglevel().
| int config_file::stat_interval |
statistics interval (in seconds)
Referenced by config_create(), config_set_option(), daemon_fork(), worker_init(), and worker_restart_timer().
| int config_file::stat_cumulative |
if false, statistics values are reset after printing them
Referenced by config_create(), config_set_option(), get_queries_ratelimit(), get_rrset_bogus(), server_stats_compile(), set_neg_cache_stats(), and worker_stat_timer_cb().
| int config_file::stat_extended |
if true, the statistics are kept in greater detail
Referenced by config_create(), config_set_option(), do_stats(), mesh_query_done(), mesh_send_reply(), mesh_serve_expired_callback(), and server_stats_init().
| int config_file::stat_inhibit_zero |
if true, inhibits a lot of =0 lines from the extended stats output
Referenced by config_create(), config_set_option(), and do_stats().
| int config_file::num_threads |
number of threads to create
Referenced by checkrlimits(), config_auto_slab_values(), config_create(), daemon_apply_cfg(), daemon_create_workers(), daemon_open_shared_ports(), fr_check_compat_cfg(), and morechecks().
| int config_file::port |
port on which queries are answered.
Referenced by acl_interface_apply_cfg(), cfg_has_https(), cfg_has_quic(), config_create(), config_set_option(), daemon_open_shared_ports(), fr_check_compat_cfg(), interfacechecks(), listening_ports_open(), and xfr_probe_send_probe().
| int config_file::do_ip4 |
do ip4 query support.
Referenced by checkrlimits(), config_create(), config_set_option(), contact_server(), daemon_create_workers(), daemon_remote_open_ports(), fr_check_compat_cfg(), hints_apply_cfg(), iter_apply_cfg(), libworker_setup(), listening_ports_open(), morechecks(), worker_init(), xfr_probe_move_to_next_lookup(), and xfr_transfer_move_to_next_lookup().
| int config_file::do_ip6 |
do ip6 query support.
Referenced by acl_list_apply_cfg(), checkrlimits(), config_create(), config_set_option(), daemon_create_workers(), daemon_remote_open_ports(), donotq_apply_cfg(), fr_check_compat_cfg(), hints_apply_cfg(), iter_apply_cfg(), libworker_setup(), listening_ports_open(), morechecks(), worker_init(), xfr_probe_move_to_next_lookup(), and xfr_transfer_move_to_next_lookup().
| int config_file::do_nat64 |
do nat64 on queries
Referenced by fr_check_nopause_compat_cfg(), and nat64_apply_cfg().
| int config_file::prefer_ip4 |
prefer ip4 upstream queries.
Referenced by config_set_option(), iter_filter_order(), and morechecks().
| int config_file::prefer_ip6 |
prefer ip6 upstream queries.
Referenced by config_set_option(), iter_filter_order(), and morechecks().
| int config_file::do_udp |
do udp query support.
Referenced by checkrlimits(), config_create(), config_set_option(), fr_check_compat_cfg(), libworker_setup(), listening_ports_open(), morechecks(), and worker_init().
| int config_file::do_tcp |
do tcp query support.
Referenced by checkrlimits(), config_create(), config_set_option(), fr_check_compat_cfg(), libworker_setup(), listening_ports_open(), morechecks(), and worker_init().
| size_t config_file::max_reuse_tcp_queries |
max number of queries on a reuse connection.
Referenced by config_create(), config_set_option(), fr_worker_pickup_outside_network(), libworker_setup(), and worker_init().
| int config_file::tcp_reuse_timeout |
timeout for REUSE entries in milliseconds.
Referenced by config_create(), config_set_option(), fr_worker_pickup_outside_network(), libworker_setup(), and worker_init().
| int config_file::tcp_auth_query_timeout |
timeout in milliseconds for TCP queries to auth servers.
Referenced by config_create(), config_set_option(), fr_worker_pickup_outside_network(), libworker_setup(), and worker_init().
| int config_file::tcp_upstream |
tcp upstream queries (no UDP upstream queries)
Referenced by config_create(), config_set_option(), and processQueryTargets().
| int config_file::udp_upstream_without_downstream |
udp upstream enabled when no UDP downstream is enabled (do_udp no)
Referenced by config_create(), config_set_option(), fr_check_compat_cfg(), libworker_setup(), and worker_init().
| int config_file::tcp_mss |
maximum segment size of tcp socket which queries are answered
Referenced by config_create(), config_set_option(), and listening_ports_open().
| int config_file::outgoing_tcp_mss |
maximum segment size of tcp socket for outgoing queries
Referenced by config_create(), config_set_option(), fr_worker_pickup_outside_network(), libworker_setup(), and worker_init().
| int config_file::tcp_idle_timeout |
tcp idle timeout, in msec
Referenced by config_create(), config_set_option(), fr_check_compat_cfg(), and worker_init().
| int config_file::do_tcp_keepalive |
do edns tcp keepalive
Referenced by config_create(), config_set_option(), fr_check_compat_cfg(), parse_edns_options_from_query(), and worker_init().
| int config_file::tcp_keepalive_timeout |
tcp keepalive timeout, in msec
Referenced by config_create(), config_set_option(), fr_check_compat_cfg(), and worker_init().
| int config_file::sock_queue_timeout |
timeout of packets sitting in the socket queue
Referenced by config_create(), config_set_option(), listening_ports_open(), and worker_handle_request().
| struct config_strlist* config_file::proxy_protocol_port |
proxy protocol ports
Referenced by config_delete(), config_file_getmem(), config_set_option(), fr_check_compat_cfg(), interfacechecks(), and listening_ports_open().
| struct config_strlist* config_file::allow_proxy |
the allow proxy list that are allowed proxy-protocol use
Referenced by allow_proxy_tree_apply_cfg(), allowproxychecks(), config_delete(), config_file_getmem(), config_set_option(), and fr_check_nopause_compat_cfg().
| char* config_file::ssl_service_key |
private key file for dnstcp-ssl service (enabled if not NULL)
Referenced by config_create(), config_delete(), config_file_getmem(), config_set_option(), ct_create_sslctxs(), daemon_reload_sslctxs(), fr_check_sslctx_change(), service_init(), and ssl_cert_changed().
| char* config_file::ssl_service_pem |
public key file for dnstcp-ssl service
Referenced by config_create(), config_delete(), config_file_getmem(), config_set_option(), ct_create_sslctxs(), service_init(), and ssl_cert_changed().
| int config_file::ssl_port |
port on which to provide ssl service
Referenced by config_create(), config_set_option(), deleg_port_number(), fr_check_compat_cfg(), listening_ports_open(), and xfr_probe_send_probe().
| int config_file::ssl_upstream |
if outgoing tcp connections use SSL
Referenced by config_create(), config_set_option(), deleg_port_number(), processQueryTargets(), and ub_ctx_set_tls().
| char* config_file::tls_cert_bundle |
cert bundle for outgoing connections
Referenced by config_create(), config_delete(), config_file_getmem(), config_set_option(), dt_io_thread_apply_cfg(), fr_check_sslctx_change(), libworker_setup(), and service_init().
| int config_file::tls_win_cert |
should the system certificate store get added to the cert bundle
Referenced by config_create(), config_set_option(), dt_io_thread_apply_cfg(), libworker_setup(), and service_init().
| struct config_strlist* config_file::tls_additional_port |
additional tls ports
Referenced by config_delete(), config_file_getmem(), config_set_option(), fr_check_compat_cfg(), and listening_ports_open().
| struct config_strlist_head config_file::tls_session_ticket_keys |
secret key used to encrypt and decrypt TLS session ticket
Referenced by check_file_clobber(), config_delete(), config_file_getmem(), config_set_option(), and service_init().
| char* config_file::tls_ciphers |
TLS ciphers.
Referenced by config_delete(), config_file_getmem(), config_set_option(), and service_init().
| char* config_file::tls_ciphersuites |
TLS chiphersuites (TLSv1.3).
Referenced by config_delete(), config_file_getmem(), config_set_option(), and service_init().
| int config_file::tls_use_sni |
if SNI is to be used
Referenced by config_create(), config_set_option(), dt_io_thread_apply_cfg(), fr_worker_pickup_outside_network(), libworker_setup(), and worker_init().
| char* config_file::tls_protocols |
TLS protocols.
Referenced by config_create(), config_delete(), config_file_getmem(), config_set_option(), fr_check_compat_cfg(), and service_init().
| int config_file::https_port |
port on which to provide DNS over HTTPS service
Referenced by cfg_has_https(), config_create(), config_set_option(), fr_check_compat_cfg(), interfacechecks(), and listening_ports_open().
| char* config_file::http_endpoint |
endpoint for HTTP service
Referenced by config_create(), config_delete(), config_file_getmem(), config_set_option(), fr_check_compat_cfg(), and worker_init().
| uint32_t config_file::http_max_streams |
MAX_CONCURRENT_STREAMS HTTP/2 setting.
Referenced by config_create(), config_set_option(), fr_check_compat_cfg(), and worker_init().
| size_t config_file::http_query_buffer_size |
maximum size of all HTTP2 query buffers combined.
Referenced by checkrlimits(), config_apply(), config_create(), and config_set_option().
| size_t config_file::http_response_buffer_size |
maximum size of all HTTP2 response buffers combined.
Referenced by checkrlimits(), config_apply(), config_create(), and config_set_option().
| int config_file::http_nodelay |
set TCP_NODELAY option for http sockets
Referenced by config_create(), config_set_option(), and listening_ports_open().
| int config_file::http_notls_downstream |
Disable TLS for http sockets downstream.
Referenced by config_set_option(), fr_check_compat_cfg(), listening_ports_open(), and worker_init().
| int config_file::quic_port |
port on which to provide DNS over QUIC service
Referenced by cfg_has_quic(), config_create(), config_set_option(), interfacechecks(), and listening_ports_open().
| size_t config_file::quic_size |
size of the quic data, max bytes
Referenced by config_create(), and config_set_option().
| int config_file::outgoing_num_ports |
outgoing port range number of ports (per thread)
Referenced by checkrlimits(), config_create(), config_create_forlib(), config_set_option(), libworker_setup(), and worker_init().
| size_t config_file::outgoing_num_tcp |
number of outgoing tcp buffers per (per thread)
Referenced by checkrlimits(), config_create(), config_create_forlib(), config_set_option(), fr_check_compat_cfg(), libworker_setup(), and worker_init().
| size_t config_file::incoming_num_tcp |
number of incoming tcp buffers per (per thread)
Referenced by checkrlimits(), config_create(), config_set_option(), fr_check_compat_cfg(), listening_ports_open(), and worker_init().
| int* config_file::outgoing_avail_ports |
allowed udp port numbers, array with 0 if not allowed
Referenced by cfg_apply_local_port_policy(), cfg_condense_ports(), config_create(), config_delete(), config_file_getmem(), config_set_option(), and daemon_get_shufport().
| size_t config_file::edns_buffer_size |
EDNS buffer size to use.
Referenced by config_apply(), config_create(), config_set_option(), and morechecks().
| size_t config_file::stream_wait_size |
size of the stream wait buffers, max
Referenced by checkrlimits(), config_apply(), config_create(), and config_set_option().
| size_t config_file::msg_buffer_size |
number of bytes buffer size for DNS messages
Referenced by config_create(), config_set_option(), fr_check_compat_cfg(), libworker_setup(), mesh_create(), morechecks(), worker_init(), and zonemd_offline_verify().
| size_t config_file::msg_cache_size |
size of the message cache
Referenced by checkrlimits(), config_create(), config_create_forlib(), config_set_option(), context_finalize(), daemon_apply_cfg(), and fr_adjust_cache().
| size_t config_file::msg_cache_slabs |
slabs in the message cache.
Referenced by config_create(), config_create_forlib(), config_set_option(), context_finalize(), and daemon_apply_cfg().
| size_t config_file::num_queries_per_thread |
number of queries every thread can service
Referenced by config_create(), config_set_option(), fr_worker_pickup_mesh(), and mesh_create().
| size_t config_file::jostle_time |
number of msec to wait before items can be jostled out
Referenced by config_create(), config_set_option(), fr_worker_pickup_mesh(), and mesh_create().
| size_t config_file::rrset_cache_size |
size of the rrset cache
Referenced by checkrlimits(), config_create(), config_create_forlib(), config_set_option(), daemon_apply_cfg(), fr_adjust_cache(), rrset_cache_adjust(), and rrset_cache_create().
| size_t config_file::rrset_cache_slabs |
slabs in the rrset cache
Referenced by config_create(), config_create_forlib(), config_set_option(), daemon_apply_cfg(), rrset_cache_adjust(), and rrset_cache_create().
| int config_file::host_ttl |
host cache ttl in seconds
Referenced by config_create(), config_set_option(), fr_adjust_infra(), fr_check_nopause_compat_cfg(), infra_adjust(), infra_create(), and infra_test().
| size_t config_file::infra_cache_slabs |
number of slabs in the infra host cache
Referenced by config_create(), config_create_forlib(), config_set_option(), infra_adjust(), and infra_create().
| size_t config_file::infra_cache_numhosts |
max number of hosts in the infra cache
Referenced by checkrlimits(), config_create(), config_set_option(), fr_adjust_cache(), infra_adjust(), and infra_create().
| int config_file::infra_cache_min_rtt |
min value for infra cache rtt (min retransmit timeout)
Referenced by config_apply(), config_create(), and config_set_option().
| int config_file::infra_cache_max_rtt |
max value for infra cache rtt (max retransmit timeout)
Referenced by config_apply(), config_create(), and config_set_option().
| int config_file::infra_keep_probing |
keep probing hosts that are down
Referenced by config_create(), config_set_option(), fr_adjust_infra(), fr_check_nopause_compat_cfg(), infra_adjust(), and infra_create().
| int config_file::delay_close |
delay close of udp-timeouted ports, if 0 no delayclose.
in msec
Referenced by config_create(), config_set_option(), fr_worker_pickup_outside_network(), libworker_setup(), and worker_init().
| int config_file::udp_connect |
udp_connect enable uses UDP connect to mitigate ICMP side channel
Referenced by config_create(), config_set_option(), fr_check_compat_cfg(), libworker_setup(), and worker_init().
| char* config_file::target_fetch_policy |
the target fetch policy for the iterator
Referenced by config_create(), config_delete(), config_file_getmem(), config_set_option(), fr_check_nopause_compat_cfg(), fr_construct_from_config(), and iter_apply_cfg().
| int config_file::fast_server_permil |
percent*10, how many times in 1000 to pick from the fastest destinations
Referenced by config_create(), config_set_option(), and iter_filter_order().
| size_t config_file::fast_server_num |
number of fastest server to select from
Referenced by config_create(), config_set_option(), and iter_filter_order().
| int config_file::if_automatic |
automatic interface for incoming messages.
Uses ipv6 remapping, and recvmsg/sendmsg ancillary data to detect interfaces, boolean
Referenced by checkrlimits(), config_create(), config_set_option(), fr_check_compat_cfg(), and listening_ports_open().
| char* config_file::if_automatic_ports |
extra ports to open if if_automatic enabled, or NULL for default
Referenced by cfg_has_https(), cfg_has_quic(), config_create(), config_delete(), config_file_getmem(), config_set_option(), fr_check_compat_cfg(), listening_ports_open(), and morechecks().
| size_t config_file::so_rcvbuf |
SO_RCVBUF size to set on port 53 UDP socket.
Referenced by config_create(), config_set_option(), fr_check_compat_cfg(), and listening_ports_open().
| size_t config_file::so_sndbuf |
SO_SNDBUF size to set on port 53 UDP socket.
Referenced by config_create(), config_set_option(), fr_check_compat_cfg(), and listening_ports_open().
| int config_file::so_reuseport |
SO_REUSEPORT requested on port 53 sockets.
Referenced by config_create(), config_set_option(), daemon_open_shared_ports(), fr_check_compat_cfg(), and thread_start().
| int config_file::ip_transparent |
IP_TRANSPARENT socket option requested on port 53 sockets.
Referenced by add_open(), config_create(), config_set_option(), fr_check_compat_cfg(), and listening_ports_open().
| int config_file::ip_freebind |
IP_FREEBIND socket option request on port 53 sockets.
Referenced by add_open(), config_create(), config_set_option(), fr_check_compat_cfg(), and listening_ports_open().
| int config_file::ip_dscp |
IP_TOS socket option requested on port 53 sockets.
Referenced by add_open(), config_create(), config_set_option(), fr_worker_pickup_outside_network(), libworker_setup(), listening_ports_open(), and worker_init().
| int config_file::num_ifs |
number of interfaces to open.
If 0 default all interfaces.
Referenced by cfg_has_https(), cfg_has_quic(), checkrlimits(), config_create(), config_delete(), config_file_getmem(), daemon_open_shared_ports(), fr_check_compat_cfg(), and interfacechecks().
| char** config_file::ifs |
interface description strings (IP addresses)
Referenced by cfg_has_https(), cfg_has_quic(), config_create(), config_delete(), config_file_getmem(), daemon_open_shared_ports(), fr_check_compat_cfg(), and interfacechecks().
| int config_file::num_out_ifs |
number of outgoing interfaces to open.
If 0 default all interfaces.
Referenced by config_create(), config_delete(), config_file_getmem(), config_set_option(), daemon_create_workers(), fr_check_compat_cfg(), interfacechecks(), libworker_setup(), and worker_init().
| char** config_file::out_ifs |
outgoing interface description strings (IP addresses)
Referenced by config_create(), config_delete(), config_file_getmem(), config_set_option(), daemon_create_workers(), fr_check_compat_cfg(), interfacechecks(), libworker_setup(), and worker_init().
| struct config_strlist* config_file::root_hints |
the root hints
Referenced by check_file_clobber(), config_create(), config_delete(), config_file_getmem(), config_set_option(), morechecks(), and read_root_hints_list().
| struct config_stub* config_file::stubs |
the stub definitions, linked list
Referenced by config_create(), config_delete(), config_file_getmem(), donotquerylocalhostcheck(), make_stub_holes(), morechecks(), read_stubs(), and ub_ctx_set_stub().
| struct config_stub* config_file::forwards |
the forward zone definitions, linked list
Referenced by config_create(), config_delete(), config_file_getmem(), donotquerylocalhostcheck(), morechecks(), read_forwards(), and ub_ctx_set_fwd().
| struct config_auth* config_file::auths |
the auth zone definitions, linked list
Referenced by auth_zones_apply_cfg(), check_file_clobber(), config_create(), config_delete(), config_file_getmem(), and make_auth_holes().
| struct config_view* config_file::views |
the views definitions, linked list
Referenced by config_create(), config_delete(), config_file_getmem(), respip_view_conf_actions_test(), respip_view_conf_data_test(), respip_views_apply_cfg(), and views_apply_cfg().
| struct config_strlist* config_file::donotqueryaddrs |
list of donotquery addresses, linked list
Referenced by config_create(), config_delete(), config_file_getmem(), config_set_option(), fr_check_nopause_compat_cfg(), and read_donotq().
| struct config_str2list* config_file::acls |
list of access control entries, linked list
Referenced by acl_list_apply_cfg(), aclchecks(), config_create(), config_delete(), and config_file_getmem().
| int config_file::donotquery_localhost |
use default localhost donotqueryaddr entries
Referenced by config_create(), config_create_forlib(), config_set_option(), donotq_apply_cfg(), donotquerylocalhostcheck(), and fr_check_nopause_compat_cfg().
| struct config_str2list* config_file::tcp_connection_limits |
list of tcp connection limitss, linked list
Referenced by config_create(), config_delete(), config_file_getmem(), read_tcl_list(), and tcpconnlimitchecks().
| int config_file::harden_short_bufsize |
harden against very small edns buffer sizes
Referenced by config_create(), config_create_forlib(), config_set_option(), and worker_handle_request().
| int config_file::harden_large_queries |
harden against very large query sizes
Referenced by config_create(), config_set_option(), fr_check_compat_cfg(), worker_check_request(), and worker_init().
| int config_file::harden_glue |
harden against spoofed glue (out of zone data)
Referenced by config_create(), config_set_option(), and scrub_sanitize().
| int config_file::harden_unverified_glue |
harden against unverified glue
Referenced by config_create(), config_set_option(), processLastResort(), and scrub_sanitize().
| int config_file::harden_dnssec_stripped |
harden against receiving no DNSSEC data for trust anchor
Referenced by config_create(), config_set_option(), and primeResponseToKE().
| int config_file::harden_below_nxdomain |
harden against queries that fall under known nxdomain names
Referenced by config_create(), config_set_option(), dns_cache_lookup(), processQueryResponse(), and processQueryTargets().
| int config_file::harden_referral_path |
harden the referral path, query for NS,A,AAAA and validate
Referenced by config_create(), config_set_option(), processPrimeResponse(), and processQueryResponse().
| int config_file::harden_algo_downgrade |
harden against algorithm downgrade
Referenced by auth_zonemd_dnskey_lookup_callback(), config_create(), config_set_option(), primeResponseToKE(), process_dnskey_response(), and verify_dnskey().
| int config_file::harden_unknown_additional |
harden against unknown records in the authority section and in the additional section
Referenced by config_create(), config_set_option(), and scrub_normalize().
| int config_file::harden_cname_follow |
harden to follow cname redirections
Referenced by config_create(), config_set_option(), processQueryResponse(), response_type_from_server(), and scrub_sanitize().
| int config_file::use_caps_bits_for_id |
use 0x20 bits in query as random ID bits
Referenced by config_create(), config_set_option(), fr_worker_pickup_outside_network(), libworker_setup(), process_response(), and worker_init().
| struct config_strlist* config_file::caps_whitelist |
0x20 whitelist, domains that do not use capsforid
Referenced by caps_white_apply_cfg(), config_create(), config_delete(), config_file_getmem(), config_set_option(), fr_check_nopause_compat_cfg(), fr_construct_from_config(), and iter_apply_cfg().
| struct config_strlist* config_file::private_address |
strip away these private addrs from answers, no DNS Rebinding
Referenced by config_create(), config_delete(), config_file_getmem(), config_set_option(), fr_check_nopause_compat_cfg(), and read_addrs().
| struct config_strlist* config_file::private_domain |
allow domain (and subdomains) to use private address space
Referenced by config_create(), config_delete(), config_file_getmem(), config_set_option(), fr_check_nopause_compat_cfg(), and read_names().
| size_t config_file::unwanted_threshold |
what threshold for unwanted action.
Referenced by config_create(), config_set_option(), fr_worker_pickup_outside_network(), libworker_setup(), and worker_init().
| int config_file::max_ttl |
the number of seconds maximal TTL used for RRsets and messages
Referenced by config_apply(), config_create(), and config_set_option().
| int config_file::min_ttl |
the number of seconds minimum TTL used for RRsets and messages
Referenced by config_apply(), config_create(), and config_set_option().
| int config_file::max_negative_ttl |
the number of seconds maximal negative TTL for SOA in auth
Referenced by config_apply(), config_create(), and config_set_option().
| int config_file::min_negative_ttl |
the number of seconds minimal negative TTL for SOA in auth
Referenced by config_apply(), config_create(), and config_set_option().
| int config_file::prefetch |
if prefetching of messages should be performed.
Referenced by config_create(), config_set_option(), and worker_handle_request().
| int config_file::prefetch_key |
if prefetching of DNSKEYs should be performed.
Referenced by config_create(), config_set_option(), processInitRequest3(), and processQueryResponse().
| int config_file::deny_any |
deny queries of type ANY with an empty answer
Referenced by config_create(), config_set_option(), and fill_any().
| char* config_file::chrootdir |
chrootdir, if not "" or chroot will be done
Referenced by anchors_apply_cfg(), auth_zone_read_zonefile(), authtest_addzone(), az_parse_file(), config_create(), config_create_forlib(), config_delete(), config_file_getmem(), config_set_option(), dnsc_chroot_path(), do_log_reopen(), dt_io_thread_apply_cfg(), fname_after_chroot(), morechecks(), perform_setup(), read_root_hints_list(), run_daemon(), service_init(), strlen_after_chroot(), and zone_write_after_update().
| char* config_file::username |
username to change to, if not "".
Referenced by add_open(), config_create(), config_delete(), config_file_getmem(), config_lookup_uid(), config_set_option(), morechecks(), and perform_setup().
| char* config_file::directory |
working directory
Referenced by config_create(), config_delete(), config_file_getmem(), config_set_option(), fname_after_chroot(), morechecks(), perform_setup(), pythonmod_init(), service_init(), and strlen_after_chroot().
| char* config_file::logfile |
filename to log to.
Referenced by apply_settings(), config_create(), config_delete(), config_file_getmem(), config_set_option(), context_finalize(), do_log_reopen(), morechecks(), perform_setup(), run_daemon(), and service_init().
| char* config_file::pidfile |
pidfile to write pid to.
Referenced by config_create(), config_delete(), config_file_getmem(), config_set_option(), morechecks(), perform_setup(), and print_option().
| int config_file::use_syslog |
should log messages be sent to syslogd
Referenced by apply_settings(), config_create(), config_create_forlib(), config_set_option(), context_finalize(), do_log_reopen(), perform_setup(), run_daemon(), and service_init().
| int config_file::log_time_ascii |
log timestamp in ascii UTC
Referenced by config_apply(), config_create(), and config_set_option().
| int config_file::log_time_iso |
log timestamp in ISO8601 format
Referenced by config_apply(), config_create(), and config_set_option().
| int config_file::log_queries |
log queries with one line per query
Referenced by config_create(), config_set_option(), and worker_handle_request().
| int config_file::log_replies |
log replies with one line per reply
Referenced by config_create(), config_set_option(), mesh_send_reply(), and worker_handle_request().
| int config_file::log_tag_queryreply |
tag log_queries and log_replies for filtering
Referenced by config_apply(), config_create(), and config_set_option().
| int config_file::log_local_actions |
log every local-zone hit
Referenced by config_create(), config_set_option(), and local_zones_answer().
| int config_file::log_servfail |
log servfails with a reason
Referenced by config_create(), config_set_option(), errinf_dname(), errinf_origin(), errinf_reply(), errinf_rrset(), mesh_query_done(), processFinished(), and processFinished().
| char* config_file::log_identity |
log identity to report
Referenced by apply_settings(), config_create(), config_delete(), config_file_getmem(), config_set_option(), fr_construct_clear(), and fr_reload_config().
| int config_file::log_destaddr |
log dest addr for log_replies
Referenced by config_create(), config_set_option(), mesh_send_reply(), and worker_handle_request().
| int config_file::log_thread_id |
log linux thread ID
Referenced by config_create(), config_set_option(), dt_io_thread_apply_cfg(), fast_reload_thread_setup(), and set_log_thread_id().
| int config_file::hide_identity |
do not report identity (id.server, hostname.bind)
Referenced by answer_chaos(), config_create(), and config_set_option().
| int config_file::hide_version |
do not report version (version.server, version.bind)
Referenced by answer_chaos(), config_create(), and config_set_option().
| int config_file::hide_trustanchor |
do not report trustanchor (trustanchor.unbound)
Referenced by answer_chaos(), config_create(), and config_set_option().
| int config_file::hide_http_user_agent |
do not report the User-Agent HTTP header
Referenced by config_create(), config_set_option(), and setup_http_user_agent().
| char* config_file::identity |
identity, hostname is returned if "".
Referenced by answer_chaos(), config_create(), config_delete(), config_file_getmem(), and config_set_option().
| char* config_file::version |
version, package version returned if "".
Referenced by answer_chaos(), config_create(), config_delete(), config_file_getmem(), and config_set_option().
| char* config_file::http_user_agent |
User-Agent for HTTP header.
Referenced by config_create(), config_delete(), config_file_getmem(), config_set_option(), and setup_http_user_agent().
| char* config_file::nsid_cfg_str |
nsid
Referenced by config_create(), config_delete(), config_file_getmem(), and config_set_option().
| char* config_file::module_conf |
the module configuration string
Referenced by check_auth(), checkconf(), checkrlimits(), config_create(), config_delete(), config_file_getmem(), config_set_option(), context_finalize(), daemon_privileged(), daemon_setup_modules(), morechecks(), view_and_respipchecks(), and zonemd_verify_test().
| struct config_strlist* config_file::trust_anchor_file_list |
files with trusted DS and DNSKEYs in zonefile format, list
Referenced by anchors_apply_cfg(), check_file_clobber(), checkrlimits(), config_create(), config_delete(), config_file_getmem(), config_set_option(), morechecks(), and ub_ctx_add_ta_file().
| struct config_strlist* config_file::trust_anchor_list |
list of trustanchor keys, linked list
Referenced by anchors_apply_cfg(), checkrlimits(), config_create(), config_delete(), config_file_getmem(), config_set_option(), morechecks(), ub_ctx_add_ta(), and zonemd_verify_test().
| struct config_strlist* config_file::auto_trust_anchor_file_list |
files with 5011 autotrust tracked keys
Referenced by anchors_apply_cfg(), check_file_clobber(), checkrlimits(), config_create(), config_delete(), config_file_getmem(), config_set_option(), morechecks(), print_option(), and ub_ctx_add_ta_autr().
| struct config_strlist* config_file::trusted_keys_file_list |
files with trusted DNSKEYs in named.conf format, list
Referenced by anchors_apply_cfg(), check_file_clobber(), checkrlimits(), config_create(), config_delete(), config_file_getmem(), config_set_option(), morechecks(), and ub_ctx_trustedkeys().
| struct config_strlist* config_file::domain_insecure |
insecure domain list
Referenced by anchors_apply_cfg(), config_create(), config_delete(), config_file_getmem(), and config_set_option().
| int config_file::trust_anchor_signaling |
send key tag query
Referenced by config_create(), config_set_option(), and prime_trust_anchor().
| int config_file::root_key_sentinel |
enable root key sentinel
Referenced by config_create(), config_set_option(), and processFinished().
| int32_t config_file::val_date_override |
if not 0, this value is the validation date for RRSIGs
Referenced by config_create(), config_set_option(), do_set_option(), fr_adjust_val_env(), fr_check_nopause_compat_cfg(), val_env_apply_cfg(), and zonemd_verify_test().
| int32_t config_file::val_sig_skew_min |
the minimum for signature clock skew
Referenced by config_create(), config_set_option(), fr_adjust_val_env(), fr_check_nopause_compat_cfg(), and val_env_apply_cfg().
| int32_t config_file::val_sig_skew_max |
the maximum for signature clock skew
Referenced by config_create(), config_set_option(), fr_adjust_val_env(), fr_check_nopause_compat_cfg(), and val_env_apply_cfg().
| int32_t config_file::val_max_restart |
max number of query restarts, number of IPs to probe
Referenced by config_create(), config_set_option(), fr_adjust_val_env(), fr_check_nopause_compat_cfg(), and val_env_apply_cfg().
| int config_file::bogus_ttl |
this value sets the number of seconds before revalidating bogus
Referenced by config_create(), config_set_option(), fr_adjust_val_env(), fr_check_nopause_compat_cfg(), and val_env_apply_cfg().
| int config_file::val_clean_additional |
should validator clean additional section for secure msgs
Referenced by answer_norec_from_cache(), config_create(), config_set_option(), processFinished(), val_check_nonsecure(), validate_msg_signatures(), and validate_referral_response().
| int config_file::val_log_level |
log bogus messages by the validator
Referenced by config_create(), config_create_forlib(), config_set_option(), errinf_dname(), errinf_origin(), errinf_reply(), errinf_rrset(), process_dnskey_response(), process_prime_response(), processFinished(), processFinished(), and processValidate().
| int config_file::val_log_squelch |
squelch val_log_level to log - this is library goes to callback
Referenced by config_create(), config_create_forlib(), config_set_option(), mesh_query_done(), processFinished(), and processFinished().
| int config_file::val_permissive_mode |
should validator allow bogus messages to go through
Referenced by config_create(), config_set_option(), and processFinished().
| int config_file::aggressive_nsec |
use cached NSEC records to synthesise (negative) answers
Referenced by config_create(), config_set_option(), process_response(), val_neg_getmsg(), and validate_positive_response().
| int config_file::ignore_cd |
ignore the CD flag in incoming queries and refuse them bogus data
Referenced by answer_from_cache(), answer_norec_from_cache(), config_create(), config_set_option(), mesh_send_reply(), mesh_serve_expired_callback(), mesh_serve_expired_lookup(), and respip_operate().
| int config_file::disable_edns_do |
disable EDNS DO flag in outgoing requests
Referenced by answer_from_cache(), answer_norec_from_cache(), config_create(), config_set_option(), mesh_do_callback(), mesh_send_reply(), morechecks(), processQueryTargets(), and val_init().
| int config_file::serve_expired |
serve expired entries and prefetch them
Referenced by answer_from_cache(), config_apply(), config_create(), config_set_option(), error_response_cache(), mesh_new_callback(), mesh_new_client(), mesh_query_done(), mesh_serve_expired_lookup(), processFinished(), and worker_handle_request().
| int config_file::serve_expired_ttl |
serve expired entries until TTL after expiration
Referenced by config_apply(), config_create(), config_set_option(), dns_cache_store(), error_response_cache(), and processFinished().
| int config_file::serve_expired_ttl_reset |
reset serve expired TTL after failed update attempt
Referenced by config_apply(), config_create(), config_set_option(), dns_cache_store(), error_response_cache(), and processFinished().
| int config_file::serve_expired_reply_ttl |
TTL for the serve expired replies.
Referenced by config_apply(), config_create(), and config_set_option().
| int config_file::serve_expired_client_timeout |
serve expired entries only after trying to update the entries and this timeout (in milliseconds) is reached
Referenced by answer_from_cache(), config_create(), config_set_option(), mesh_new_callback(), and mesh_new_client().
| int config_file::serve_original_ttl |
serve original TTLs rather than decrementing ones
Referenced by config_apply(), config_create(), and config_set_option().
| char* config_file::val_nsec3_key_iterations |
nsec3 maximum iterations per key size, string
Referenced by config_create(), config_delete(), config_file_getmem(), config_set_option(), fr_adjust_val_env(), fr_check_nopause_compat_cfg(), fr_construct_from_config(), and val_apply_cfg().
| int config_file::zonemd_permissive_mode |
if zonemd failures are permitted, only logged
Referenced by auth_zone_zonemd_fail(), config_create(), and config_set_option().
| unsigned int config_file::add_holddown |
autotrust add holddown time, in seconds
Referenced by config_create(), config_set_option(), and do_addtime().
| unsigned int config_file::del_holddown |
autotrust del holddown time, in seconds
Referenced by config_create(), config_set_option(), and do_remtime().
| unsigned int config_file::keep_missing |
autotrust keep_missing time, in seconds.
0 is forever.
Referenced by config_create(), config_set_option(), and remove_missing_trustanchors().
| int config_file::permit_small_holddown |
permit small holddown values, allowing 5011 rollover very fast
Referenced by config_apply(), config_create(), and config_set_option().
| size_t config_file::key_cache_size |
size of the key cache
Referenced by config_create(), config_create_forlib(), config_set_option(), fr_adjust_cache(), and key_cache_create().
| size_t config_file::key_cache_slabs |
slabs in the key cache.
Referenced by config_create(), config_create_forlib(), config_set_option(), and key_cache_create().
| size_t config_file::neg_cache_size |
size of the neg cache
Referenced by config_create(), config_create_forlib(), config_set_option(), fr_adjust_cache(), and val_neg_create().
| struct config_str2list* config_file::local_zones |
local zones config
Referenced by cfg_parse_local_zone(), config_create(), config_delete(), config_file_getmem(), dnsc_load_local_data(), lz_enter_zones(), lz_freeup_cfg(), and views_apply_cfg().
| struct config_strlist* config_file::local_zones_nodefault |
local zones nodefault list
Referenced by cfg_parse_local_zone(), config_create(), config_delete(), config_file_getmem(), lz_freeup_cfg(), lz_nodefault(), and views_apply_cfg().
| int config_file::local_zones_disable_default |
do not add any default local zone
Referenced by config_create(), local_zone_enter_defaults(), and views_apply_cfg().
| struct config_strlist* config_file::local_data |
local data RRs configured
Referenced by config_create(), config_delete(), config_file_getmem(), config_set_option(), dnsc_load_local_data(), lz_enter_data(), lz_freeup_cfg(), lz_setup_implicit(), ub_ctx_hosts(), and views_apply_cfg().
| struct config_str3list* config_file::local_zone_overrides |
local zone override types per netblock
Referenced by config_create(), config_delete(), config_file_getmem(), and lz_enter_overrides().
| int config_file::unblock_lan_zones |
unblock lan zones (reverse lookups for AS112 zones)
Referenced by config_create(), config_set_option(), and local_zone_enter_defaults().
| int config_file::insecure_lan_zones |
insecure lan zones (don't validate AS112 zones)
Referenced by anchors_apply_cfg(), config_create(), and config_set_option().
| struct config_strbytelist* config_file::local_zone_tags |
list of zonename, tagbitlist
Referenced by config_delete(), config_file_getmem(), and lz_enter_zone_tags().
| struct config_strbytelist* config_file::acl_tags |
list of aclname, tagbitlist
Referenced by acl_list_apply_cfg(), acl_view_tag_checks(), config_delete(), and config_file_getmem().
| struct config_str3list* config_file::acl_tag_actions |
list of aclname, tagname, localzonetype
Referenced by acl_list_apply_cfg(), acl_view_tag_checks(), config_delete(), and config_file_getmem().
| struct config_str3list* config_file::acl_tag_datas |
list of aclname, tagname, redirectdata
Referenced by acl_list_apply_cfg(), acl_view_tag_checks(), config_delete(), config_file_getmem(), and fr_check_tag_datas().
| struct config_str2list* config_file::acl_view |
list of aclname, view
Referenced by acl_list_apply_cfg(), acl_view_tag_checks(), config_delete(), and config_file_getmem().
| struct config_str2list* config_file::interface_actions |
list of interface action entries, linked list
Referenced by acl_interface_apply_cfg(), config_delete(), and config_file_getmem().
| struct config_strbytelist* config_file::interface_tags |
list of interface, tagbitlist
Referenced by acl_interface_apply_cfg(), config_delete(), and config_file_getmem().
| struct config_str3list* config_file::interface_tag_actions |
list of interface, tagname, localzonetype
Referenced by acl_interface_apply_cfg(), config_delete(), and config_file_getmem().
| struct config_str3list* config_file::interface_tag_datas |
list of interface, tagname, redirectdata
Referenced by acl_interface_apply_cfg(), config_delete(), config_file_getmem(), and fr_check_tag_datas().
| struct config_str2list* config_file::interface_view |
list of interface, view
Referenced by acl_interface_apply_cfg(), config_delete(), and config_file_getmem().
| struct config_strbytelist* config_file::respip_tags |
list of IP-netblock, tagbitlist
Referenced by config_delete(), config_file_getmem(), and respip_global_apply_cfg().
| struct config_str2list* config_file::respip_actions |
list of response-driven access control entries, linked list
Referenced by config_delete(), config_file_getmem(), respip_conf_actions_test(), respip_conf_data_test(), and respip_global_apply_cfg().
| struct config_str2list* config_file::respip_data |
RRs configured for response-driven access controls.
Referenced by config_file_getmem(), respip_conf_data_test(), and respip_global_apply_cfg().
| char** config_file::tagname |
tag list, array with tagname[i] is malloced string
Referenced by config_add_tag(), config_delete(), config_file_getmem(), config_taglist2str(), find_tag_id(), fr_check_tag_defines(), respip_global_apply_cfg(), and worker_handle_request().
| int config_file::num_tags |
number of items in the taglist
Referenced by acl_list_tag_action_cfg(), acl_list_tag_data_cfg(), config_add_tag(), config_delete(), config_file_getmem(), config_parse_taglist(), find_tag_id(), fr_check_tag_defines(), respip_global_apply_cfg(), and worker_handle_request().
| int config_file::remote_control_enable |
remote control section.
enable toggle.
Referenced by config_create(), config_set_option(), daemon_open_shared_ports(), daemon_remote_create(), daemon_remote_open_ports(), go(), morechecks(), and options_remote_is_address().
| struct config_strlist_head config_file::control_ifs |
the interfaces the remote control should listen on
Referenced by config_create(), config_delete(), config_file_getmem(), config_set_option(), contact_server(), controlinterfacechecks(), daemon_remote_create(), daemon_remote_open_ports(), do_status(), and options_remote_is_address().
| int config_file::control_use_cert |
if the use-cert option is set
Referenced by config_create(), daemon_remote_create(), morechecks(), and setup_ctx().
| int config_file::control_port |
port number for the control port
Referenced by config_create(), config_set_option(), contact_server(), controlinterfacechecks(), daemon_open_shared_ports(), and daemon_remote_open_ports().
| char* config_file::server_key_file |
private key file for server
Referenced by config_create(), config_delete(), config_file_getmem(), config_set_option(), and morechecks().
| char* config_file::server_cert_file |
certificate file for server
Referenced by config_create(), config_delete(), config_file_getmem(), config_set_option(), morechecks(), and setup_ctx().
| char* config_file::control_key_file |
private key file for unbound-control
Referenced by config_create(), config_delete(), config_file_getmem(), config_set_option(), morechecks(), and setup_ctx().
| char* config_file::control_cert_file |
certificate file for unbound-control
Referenced by config_create(), config_delete(), config_file_getmem(), config_set_option(), morechecks(), and setup_ctx().
| struct config_strlist* config_file::python_script |
Python script file.
Referenced by config_create(), config_delete(), config_file_getmem(), config_set_option(), and pythonmod_init().
| struct config_strlist* config_file::dynlib_file |
Dynamic library file.
Referenced by config_create(), config_delete(), config_file_getmem(), config_set_option(), and dynlibmod_init().
| int config_file::use_systemd |
Use systemd socket activation.
Referenced by add_open(), apply_settings(), config_create(), config_set_option(), and listening_ports_open().
| int config_file::do_daemonize |
daemonize, i.e.
fork into the background.
Referenced by apply_settings(), config_create(), config_set_option(), and perform_setup().
| int config_file::discard_timeout |
Wait time to drop recursion replies.
Referenced by config_create(), config_set_option(), mesh_query_done(), and mesh_serve_expired_callback().
| int config_file::wait_limit |
Wait limit for number of replies per IP address.
Referenced by config_create(), config_set_option(), infra_wait_limit_allowed(), infra_wait_limit_dec(), and infra_wait_limit_inc().
| int config_file::wait_limit_cookie |
Wait limit for number of replies per IP address with cookie.
Referenced by config_create(), config_set_option(), and infra_wait_limit_allowed().
| struct config_str2list* config_file::wait_limit_netblock |
wait limit per netblock
Referenced by config_create(), config_delete(), fr_check_nopause_compat_cfg(), and infra_wait_limit_netblock_insert().
| struct config_str2list* config_file::wait_limit_cookie_netblock |
wait limit with cookie per netblock
Referenced by config_create(), config_delete(), fr_check_nopause_compat_cfg(), and infra_wait_limit_netblock_insert().
| struct config_strlist* config_file::dns64_ignore_aaaa |
ignore AAAAs for these domain names and use A record anyway
Referenced by config_delete(), config_file_getmem(), and dns64_apply_cfg().
| int config_file::dnstap |
true to enable dnstap support
Referenced by config_set_option(), daemon_create_workers(), dt_io_thread_apply_cfg(), fr_reload_config(), worker_delete(), and worker_init().
| int config_file::dnstap_bidirectional |
using bidirectional frame streams if true
Referenced by config_create(), config_set_option(), and dt_io_thread_apply_cfg().
| char* config_file::dnstap_socket_path |
dnstap socket path
Referenced by config_create(), config_delete(), config_file_getmem(), config_set_option(), and dt_io_thread_apply_cfg().
| char* config_file::dnstap_ip |
dnstap IP
Referenced by config_delete(), config_file_getmem(), config_set_option(), and dt_io_thread_apply_cfg().
| int config_file::dnstap_tls |
dnstap TLS enable
Referenced by config_create(), config_set_option(), and dt_io_thread_apply_cfg().
| char* config_file::dnstap_tls_server_name |
dnstap tls server authentication name
Referenced by config_delete(), config_file_getmem(), config_set_option(), and dt_io_thread_apply_cfg().
| char* config_file::dnstap_tls_cert_bundle |
dnstap server cert bundle
Referenced by config_delete(), config_file_getmem(), config_set_option(), and dt_io_thread_apply_cfg().
| char* config_file::dnstap_tls_client_key_file |
dnstap client key for client authentication
Referenced by config_delete(), config_file_getmem(), config_set_option(), and dt_io_thread_apply_cfg().
| char* config_file::dnstap_tls_client_cert_file |
dnstap client cert for client authentication
Referenced by config_delete(), config_file_getmem(), config_set_option(), and dt_io_thread_apply_cfg().
| int config_file::dnstap_send_identity |
true to send "identity" via dnstap
Referenced by config_set_option(), and fr_check_nopause_compat_cfg().
| int config_file::dnstap_send_version |
true to send "version" via dnstap
Referenced by config_set_option(), and fr_check_nopause_compat_cfg().
| char* config_file::dnstap_identity |
dnstap "identity", hostname is used if "".
Referenced by config_delete(), config_file_getmem(), config_set_option(), and fr_check_nopause_compat_cfg().
| char* config_file::dnstap_version |
dnstap "version", package version is used if "".
Referenced by config_delete(), config_file_getmem(), config_set_option(), and fr_check_nopause_compat_cfg().
| int config_file::dnstap_sample_rate |
dnstap sample rate
Referenced by config_set_option().
| int config_file::dnstap_log_resolver_query_messages |
true to log dnstap RESOLVER_QUERY message events
Referenced by config_set_option().
| int config_file::dnstap_log_resolver_response_messages |
true to log dnstap RESOLVER_RESPONSE message events
Referenced by config_set_option().
| int config_file::dnstap_log_client_query_messages |
true to log dnstap CLIENT_QUERY message events
Referenced by config_set_option().
| int config_file::dnstap_log_client_response_messages |
true to log dnstap CLIENT_RESPONSE message events
Referenced by config_set_option().
| int config_file::dnstap_log_forwarder_query_messages |
true to log dnstap FORWARDER_QUERY message events
Referenced by config_set_option().
| int config_file::dnstap_log_forwarder_response_messages |
true to log dnstap FORWARDER_RESPONSE message events
Referenced by config_set_option().
| int config_file::disable_dnssec_lame_check |
true to disable DNSSEC lameness check in iterator
Referenced by config_create(), config_set_option(), and processQueryResponse().
| int config_file::ip_ratelimit |
ratelimit for ip addresses.
0 is off, otherwise qps (unless overridden)
Referenced by checkrlimits(), config_create(), config_set_option(), fr_adjust_infra(), fr_check_nopause_compat_cfg(), infra_adjust(), and infra_create().
| int config_file::ip_ratelimit_cookie |
ratelimit for ip addresses with a valid DNS Cookie.
0 is off, otherwise qps (unless overridden)
Referenced by config_create(), config_set_option(), fr_adjust_infra(), fr_check_nopause_compat_cfg(), infra_adjust(), and infra_create().
| size_t config_file::ip_ratelimit_slabs |
number of slabs for ip_ratelimit cache
Referenced by config_create(), config_create_forlib(), config_set_option(), infra_adjust(), and infra_create().
| size_t config_file::ip_ratelimit_size |
memory size in bytes for ip_ratelimit cache
Referenced by checkrlimits(), config_create(), config_set_option(), infra_adjust(), and infra_create().
| int config_file::ip_ratelimit_factor |
ip_ratelimit factor, 0 blocks all, 10 allows 1/10 of traffic
Referenced by config_create(), and config_set_option().
| int config_file::ip_ratelimit_backoff |
ratelimit backoff, when on, if the limit is reached it is considered an attack and it backs off until 'demand' decreases over the RATE_WINDOW.
Referenced by config_create(), config_set_option(), and do_ip_ratelimit_list().
| int config_file::ratelimit |
ratelimit for domains.
0 is off, otherwise qps (unless overridden)
Referenced by checkrlimits(), config_create(), config_set_option(), fr_adjust_infra(), fr_check_nopause_compat_cfg(), infra_adjust(), and infra_create().
| size_t config_file::ratelimit_slabs |
number of slabs for ratelimit cache
Referenced by config_create(), config_create_forlib(), config_set_option(), infra_adjust(), and infra_create().
| size_t config_file::ratelimit_size |
memory size in bytes for ratelimit cache
Referenced by checkrlimits(), config_create(), config_set_option(), fr_adjust_cache(), infra_adjust(), and infra_create().
| struct config_str2list* config_file::ratelimit_for_domain |
ratelimits for domain (exact match)
Referenced by config_create(), config_delete(), config_file_getmem(), fr_check_nopause_compat_cfg(), and infra_ratelimit_cfg_insert().
| struct config_str2list* config_file::ratelimit_below_domain |
ratelimits below domain
Referenced by config_create(), config_delete(), config_file_getmem(), fr_check_nopause_compat_cfg(), and infra_ratelimit_cfg_insert().
| int config_file::ratelimit_factor |
ratelimit factor, 0 blocks all, 10 allows 1/10 of traffic
Referenced by config_create(), config_set_option(), and outnet_serviced_query().
| int config_file::ratelimit_backoff |
ratelimit backoff, when on, if the limit is reached it is considered an attack and it backs off until 'demand' decreases over the RATE_WINDOW.
Referenced by config_create(), config_set_option(), do_ratelimit_list(), and outnet_serviced_query().
| int config_file::outbound_msg_retry |
number of retries on outgoing queries
Referenced by config_create(), config_set_option(), fr_adjust_iter_env(), fr_check_nopause_compat_cfg(), and iter_apply_cfg().
| int config_file::max_sent_count |
max sent queries per qstate; resets on query restarts (e.g., CNAMES) and referrals
Referenced by config_create(), config_set_option(), fr_adjust_iter_env(), fr_check_nopause_compat_cfg(), and iter_apply_cfg().
| int config_file::max_query_restarts |
max number of query restarts; determines max length of CNAME chain
Referenced by config_create(), config_set_option(), fr_adjust_iter_env(), fr_check_nopause_compat_cfg(), and iter_apply_cfg().
| int config_file::qname_minimisation |
minimise outgoing QNAME and hide original QTYPE if possible
Referenced by config_create(), config_set_option(), dns_cache_lookup(), generate_sub_request(), iter_new(), process_response(), processInitRequest(), processLastResort(), processQueryResponse(), and processQueryTargets().
| int config_file::qname_minimisation_strict |
minimise QNAME in strict mode, minimise according to RFC.
Do not apply fallback
Referenced by config_create(), config_set_option(), processQueryResponse(), and processQueryTargets().
| int config_file::shm_enable |
SHM data - true if shm is enabled.
Referenced by config_create(), config_set_option(), daemon_fork(), and worker_stat_timer_cb().
| int config_file::shm_key |
SHM data - key for the shm.
Referenced by config_create(), config_set_option(), and print_stats_shm().
| struct config_str2list* config_file::edns_client_strings |
list of EDNS client string entries, linked list
Referenced by config_create(), config_delete(), config_file_getmem(), and edns_strings_apply_cfg().
| uint16_t config_file::edns_client_string_opcode |
EDNS opcode to use for EDNS client strings.
Referenced by config_create(), and edns_strings_apply_cfg().
| int config_file::dnscrypt |
DNSCrypt.
true to enable dnscrypt
Referenced by checkrlimits(), config_create(), config_read(), config_set_option(), and daemon_fork().
| int config_file::dnscrypt_port |
port on which to provide dnscrypt service
Referenced by config_create(), config_read(), config_set_option(), interfacechecks(), and listening_ports_open().
| char* config_file::dnscrypt_provider |
provider name 2.dnscrypt-cert.example.com
Referenced by config_create(), config_file_getmem(), and config_set_option().
| struct config_strlist* config_file::dnscrypt_secret_key |
dnscrypt secret keys 1.key
Referenced by config_create(), config_file_getmem(), config_set_option(), and dnsc_parse_keys().
| struct config_strlist* config_file::dnscrypt_provider_cert |
dnscrypt provider certs 1.cert
Referenced by config_create(), config_file_getmem(), config_set_option(), and dnsc_parse_certs().
| 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.
Referenced by config_create(), config_file_getmem(), config_set_option(), and dnsc_parse_certs().
| size_t config_file::dnscrypt_shared_secret_cache_size |
memory size in bytes for dnscrypt shared secrets cache
Referenced by checkrlimits(), config_create(), and config_set_option().
| size_t config_file::dnscrypt_shared_secret_cache_slabs |
number of slabs for dnscrypt shared secrets cache
Referenced by config_create(), config_create_forlib(), and config_set_option().
| size_t config_file::dnscrypt_nonce_cache_size |
memory size in bytes for dnscrypt nonces cache
Referenced by checkrlimits(), config_create(), and config_set_option().
| size_t config_file::dnscrypt_nonce_cache_slabs |
number of slabs for dnscrypt nonces cache
Referenced by config_create(), config_create_forlib(), and config_set_option().
| int config_file::pad_responses |
EDNS padding according to RFC7830 and RFC8467.
true to enable padding of responses (default: on)
Referenced by config_create(), config_set_option(), and parse_edns_options_from_query().
| size_t config_file::pad_responses_block_size |
block size with which to pad encrypted responses (default: 468)
Referenced by config_create(), config_set_option(), and parse_edns_options_from_query().
| int config_file::pad_queries |
true to enable padding of queries (default: on)
Referenced by config_create(), config_set_option(), and outnet_serviced_query().
| size_t config_file::pad_queries_block_size |
block size with which to pad encrypted queries (default: 128)
Referenced by config_create(), config_set_option(), and outnet_serviced_query().
| int config_file::do_answer_cookie |
IPsec module.
Downstream DNS Cookies do answer with server cookie when request contained cookie option
Referenced by config_create(), config_set_option(), init_cookie_secret(), parse_edns_options_from_query(), and worker_handle_request().
| uint8_t config_file::cookie_secret[40] |
cookie secret
Referenced by config_create(), init_cookie_secret(), and parse_edns_options_from_query().
| size_t config_file::cookie_secret_len |
cookie secret length
Referenced by config_create(), init_cookie_secret(), and parse_edns_options_from_query().
| char* config_file::cookie_secret_file |
path to cookie secret store
Referenced by config_create(), config_delete(), config_set_option(), cookie_secret_file_dump(), daemon_fork(), do_activate_cookie_secret(), do_add_cookie_secret(), do_drop_cookie_secret(), init_cookie_secret(), and parse_edns_options_from_query().
| int config_file::ede |
respond with Extended DNS Errors (RFC8914)
Referenced by answer_from_cache(), answer_norec_from_cache(), config_create(), config_set_option(), local_error_encode(), mesh_send_reply(), mesh_serve_expired_callback(), and worker_handle_request().
| int config_file::ede_serve_expired |
serve EDE code 3 - Stale Answer (RFC8914) for expired entries
Referenced by answer_from_cache(), config_create(), config_set_option(), and mesh_serve_expired_callback().
| int config_file::dns_error_reporting |
send DNS Error Reports to upstream reporting agent (RFC9567)
Referenced by config_create(), config_set_option(), and mesh_query_done().
| size_t config_file::iter_scrub_ns |
limit on NS RRs in RRset for the iterator scrubber.
Referenced by config_create(), config_set_option(), and scrub_normalize().
| int config_file::iter_scrub_cname |
limit on CNAME, DNAME RRs in answer for the iterator scrubber.
Referenced by config_create(), config_set_option(), and scrub_normalize().
| int config_file::iter_scrub_rrsig |
limit on RRSIGs for an RRset for the iterator scrubber.
Referenced by config_create(), config_set_option(), and scrub_normalize().
| int config_file::max_global_quota |
limit on upstream queries for an incoming query and subqueries.
Referenced by config_apply(), config_create(), and config_set_option().
| int config_file::val_validation_attempts |
limit on validator validation attempts.
Referenced by config_create(), config_set_option(), dnskey_verify_rrset(), dnskeyset_verify_rrset_sig(), and val_can_restart().
| int config_file::val_hash_attempts |
limit on validator hash attempts.
Referenced by config_create(), config_set_option(), val_can_restart(), and verify_dnskeys_with_ds_rr().
| int config_file::iter_scrub_promiscuous |
Should the iterator scrub promiscuous NS rrsets, from positive answers.
Referenced by config_create(), config_set_option(), and scrub_normalize().
| size_t config_file::iter_scrub_glue_count |
limit on number of glue RRs in a response.
Referenced by config_create(), config_set_option(), and scrub_normalize().
| int config_file::delegpt_max_addr |
Max number of addresses in a delegation point.
Referenced by config_apply(), and config_create().
| int config_file::delegpt_max_ns |
Max number of nameserver names in a delagation point.
Referenced by config_apply(), and config_create().