Lines Matching refs:opt
473 #define S_NUMBER_OR_ZERO(str, var) if(strcmp(opt, str) == 0) \
476 #define S_NUMBER_NONZERO(str, var) if(strcmp(opt, str) == 0) \
479 #define S_UNSIGNED_OR_ZERO(str, var) if(strcmp(opt, str) == 0) \
482 #define S_SIZET_OR_ZERO(str, var) if(strcmp(opt, str) == 0) \
485 #define S_SIZET_NONZERO(str, var) if(strcmp(opt, str) == 0) \
488 #define S_YNO(str, var) if(strcmp(opt, str) == 0) \
491 #define S_MEMSIZE(str, var) if(strcmp(opt, str)==0) \
494 #define S_POW2(str, var) if(strcmp(opt, str)==0) \
497 #define S_STR(str, var) if(strcmp(opt, str)==0) \
500 #define S_STRLIST(str, var) if(strcmp(opt, str)==0) \
503 #define S_STRLIST_UNIQ(str, var) if(strcmp(opt, str)==0) \
507 #define S_STRLIST_APPEND(str, var) if(strcmp(opt, str)==0) \
529 int config_set_option(struct config_file* cfg, const char* opt,
533 if(!opt) return 0;
534 if(opt[strlen(opt)-1] != ':' && strlen(opt)+2<sizeof(buf)) {
535 snprintf(buf, sizeof(buf), "%s:", opt);
536 opt = buf;
539 else if(strcmp(opt, "statistics-interval:") == 0) {
545 } else if(strcmp(opt, "num-threads:") == 0) {
548 } else if(strcmp(opt, "outgoing-port-permit:") == 0) {
551 } else if(strcmp(opt, "outgoing-port-avoid:") == 0) {
554 } else if(strcmp(opt, "local-zone:") == 0) {
556 } else if(strcmp(opt, "val-override-date:") == 0) {
566 } else if(strcmp(opt, "local-data-ptr:") == 0) {
567 char* ptr = cfg_ptr_reverse((char*)opt);
569 } else if(strcmp(opt, "logfile:") == 0) {
574 else if(strcmp(opt, "log-time-ascii:") == 0)
577 else if(strcmp(opt, "log-time-iso:") == 0)
661 else if(strcmp(opt, "cache-max-ttl:") == 0)
663 else if(strcmp(opt, "cache-max-negative-ttl:") == 0)
665 else if(strcmp(opt, "cache-min-negative-ttl:") == 0)
667 else if(strcmp(opt, "cache-min-ttl:") == 0)
669 else if(strcmp(opt, "infra-cache-min-rtt:") == 0) {
673 else if(strcmp(opt, "infra-cache-max-rtt:") == 0) {
694 else if(strcmp(opt, "nsid:") == 0) {
747 else if(strcmp(opt, "serve-expired:") == 0)
750 else if(strcmp(opt, "serve-expired-ttl:") == 0)
752 else if(strcmp(opt, "serve-expired-ttl-reset:") == 0)
755 else if(strcmp(opt, "serve-expired-reply-ttl:") == 0)
770 else if(strcmp(opt, "permit-small-holddown:") == 0)
847 else if(strcmp(opt, "ip-ratelimit-cookie:") == 0) {
851 else if(strcmp(opt, "ip-ratelimit:") == 0) {
855 else if(strcmp(opt, "ratelimit:") == 0) {
882 else if(strcmp(opt, "ipsecmod-max-ttl:") == 0)
892 else if(strcmp(opt, "define-tag:") ==0) {
896 } else if(strcmp(opt, "val-sig-skew-min:") == 0)
898 else if(strcmp(opt, "val-sig-skew-max:") == 0)
900 else if(strcmp(opt, "val-max-restart:") == 0)
902 else if (strcmp(opt, "outgoing-interface:") == 0) {
955 int config_get_option_list(struct config_file* cfg, const char* opt,
961 if(!config_get_option(cfg, opt, config_collate_func, &m))
972 config_get_option_collate(struct config_file* cfg, const char* opt, char** str)
977 if((r = config_get_option_list(cfg, opt, &list)) != 0)
1018 #define O_DEC(opt, str, var) if(strcmp(opt, str)==0) \
1022 #define O_UNS(opt, str, var) if(strcmp(opt, str)==0) \
1026 #define O_YNO(opt, str, var) if(strcmp(opt, str)==0) \
1029 #define O_STR(opt, str, var) if(strcmp(opt, str)==0) \
1032 #define O_IFC(opt, str, num, arr) if(strcmp(opt, str)==0) \
1035 #define O_MEM(opt, str, var) if(strcmp(opt, str)==0) { \
1042 #define O_LST(opt, name, lst) if(strcmp(opt, name)==0) { \
1048 #define O_LS2(opt, name, lst) if(strcmp(opt, name)==0) { \
1056 #define O_LS3(opt, name, lst) if(strcmp(opt, name)==0) { \
1064 #define O_LTG(opt, name, lst) if(strcmp(opt, name)==0) { \
1078 config_get_option(struct config_file* cfg, const char* opt,
1083 if(!opt) return 0;
1084 if(opt && opt[strlen(opt)-1] == ':' && strlen(opt)<sizeof(nopt)) {
1085 memmove(nopt, opt, strlen(opt));
1086 nopt[strlen(opt)-1] = 0;
1087 opt = nopt;
1090 O_DEC(opt, "verbosity", verbosity)
1091 else O_DEC(opt, "statistics-interval", stat_interval)
1092 else O_YNO(opt, "statistics-cumulative", stat_cumulative)
1093 else O_YNO(opt, "extended-statistics", stat_extended)
1094 else O_YNO(opt, "statistics-inhibit-zero", stat_inhibit_zero)
1095 else O_YNO(opt, "shm-enable", shm_enable)
1096 else O_DEC(opt, "shm-key", shm_key)
1097 else O_YNO(opt, "use-syslog", use_syslog)
1098 else O_STR(opt, "log-identity", log_identity)
1099 else O_YNO(opt, "log-time-ascii", log_time_ascii)
1100 else O_YNO(opt, "log-time-iso", log_time_iso)
1101 else O_DEC(opt, "num-threads", num_threads)
1102 else O_IFC(opt, "interface", num_ifs, ifs)
1103 else O_IFC(opt, "outgoing-interface", num_out_ifs, out_ifs)
1104 else O_YNO(opt, "interface-automatic", if_automatic)
1105 else O_STR(opt, "interface-automatic-ports", if_automatic_ports)
1106 else O_DEC(opt, "port", port)
1107 else O_DEC(opt, "outgoing-range", outgoing_num_ports)
1108 else O_DEC(opt, "outgoing-num-tcp", outgoing_num_tcp)
1109 else O_DEC(opt, "incoming-num-tcp", incoming_num_tcp)
1110 else O_MEM(opt, "stream-wait-size", stream_wait_size)
1111 else O_DEC(opt, "edns-buffer-size", edns_buffer_size)
1112 else O_DEC(opt, "msg-buffer-size", msg_buffer_size)
1113 else O_MEM(opt, "msg-cache-size", msg_cache_size)
1114 else O_DEC(opt, "msg-cache-slabs", msg_cache_slabs)
1115 else O_DEC(opt, "num-queries-per-thread", num_queries_per_thread)
1116 else O_UNS(opt, "jostle-timeout", jostle_time)
1117 else O_MEM(opt, "so-rcvbuf", so_rcvbuf)
1118 else O_MEM(opt, "so-sndbuf", so_sndbuf)
1119 else O_YNO(opt, "so-reuseport", so_reuseport)
1120 else O_YNO(opt, "ip-transparent", ip_transparent)
1121 else O_YNO(opt, "ip-freebind", ip_freebind)
1122 else O_DEC(opt, "ip-dscp", ip_dscp)
1123 else O_MEM(opt, "rrset-cache-size", rrset_cache_size)
1124 else O_DEC(opt, "rrset-cache-slabs", rrset_cache_slabs)
1125 else O_YNO(opt, "prefetch-key", prefetch_key)
1126 else O_YNO(opt, "prefetch", prefetch)
1127 else O_YNO(opt, "deny-any", deny_any)
1128 else O_DEC(opt, "cache-max-ttl", max_ttl)
1129 else O_DEC(opt, "cache-max-negative-ttl", max_negative_ttl)
1130 else O_DEC(opt, "cache-min-negative-ttl", min_negative_ttl)
1131 else O_DEC(opt, "cache-min-ttl", min_ttl)
1132 else O_DEC(opt, "infra-host-ttl", host_ttl)
1133 else O_DEC(opt, "infra-cache-slabs", infra_cache_slabs)
1134 else O_DEC(opt, "infra-cache-min-rtt", infra_cache_min_rtt)
1135 else O_UNS(opt, "infra-cache-max-rtt", infra_cache_max_rtt)
1136 else O_YNO(opt, "infra-keep-probing", infra_keep_probing)
1137 else O_MEM(opt, "infra-cache-numhosts", infra_cache_numhosts)
1138 else O_UNS(opt, "delay-close", delay_close)
1139 else O_YNO(opt, "udp-connect", udp_connect)
1140 else O_YNO(opt, "do-ip4", do_ip4)
1141 else O_YNO(opt, "do-ip6", do_ip6)
1142 else O_YNO(opt, "do-udp", do_udp)
1143 else O_YNO(opt, "do-tcp", do_tcp)
1144 else O_YNO(opt, "prefer-ip4", prefer_ip4)
1145 else O_YNO(opt, "prefer-ip6", prefer_ip6)
1146 else O_YNO(opt, "tcp-upstream", tcp_upstream)
1147 else O_YNO(opt, "udp-upstream-without-downstream", udp_upstream_without_downstream)
1148 else O_DEC(opt, "tcp-mss", tcp_mss)
1149 else O_DEC(opt, "outgoing-tcp-mss", outgoing_tcp_mss)
1150 else O_DEC(opt, "tcp-auth-query-timeout", tcp_auth_query_timeout)
1151 else O_DEC(opt, "tcp-idle-timeout", tcp_idle_timeout)
1152 else O_DEC(opt, "max-reuse-tcp-queries", max_reuse_tcp_queries)
1153 else O_DEC(opt, "tcp-reuse-timeout", tcp_reuse_timeout)
1154 else O_YNO(opt, "edns-tcp-keepalive", do_tcp_keepalive)
1155 else O_DEC(opt, "edns-tcp-keepalive-timeout", tcp_keepalive_timeout)
1156 else O_DEC(opt, "sock-queue-timeout", sock_queue_timeout)
1157 else O_YNO(opt, "ssl-upstream", ssl_upstream)
1158 else O_YNO(opt, "tls-upstream", ssl_upstream)
1159 else O_STR(opt, "ssl-service-key", ssl_service_key)
1160 else O_STR(opt, "tls-service-key", ssl_service_key)
1161 else O_STR(opt, "ssl-service-pem", ssl_service_pem)
1162 else O_STR(opt, "tls-service-pem", ssl_service_pem)
1163 else O_DEC(opt, "ssl-port", ssl_port)
1164 else O_DEC(opt, "tls-port", ssl_port)
1165 else O_STR(opt, "ssl-cert-bundle", tls_cert_bundle)
1166 else O_STR(opt, "tls-cert-bundle", tls_cert_bundle)
1167 else O_YNO(opt, "tls-win-cert", tls_win_cert)
1168 else O_YNO(opt, "tls-system-cert", tls_win_cert)
1169 else O_LST(opt, "additional-ssl-port", tls_additional_port)
1170 else O_LST(opt, "additional-tls-port", tls_additional_port)
1171 else O_LST(opt, "tls-additional-ports", tls_additional_port)
1172 else O_LST(opt, "tls-additional-port", tls_additional_port)
1173 else O_LST(opt, "tls-session-ticket-keys", tls_session_ticket_keys.first)
1174 else O_STR(opt, "tls-ciphers", tls_ciphers)
1175 else O_STR(opt, "tls-ciphersuites", tls_ciphersuites)
1176 else O_YNO(opt, "tls-use-sni", tls_use_sni)
1177 else O_DEC(opt, "https-port", https_port)
1178 else O_STR(opt, "http-endpoint", http_endpoint)
1179 else O_UNS(opt, "http-max-streams", http_max_streams)
1180 else O_MEM(opt, "http-query-buffer-size", http_query_buffer_size)
1181 else O_MEM(opt, "http-response-buffer-size", http_response_buffer_size)
1182 else O_YNO(opt, "http-nodelay", http_nodelay)
1183 else O_YNO(opt, "http-notls-downstream", http_notls_downstream)
1184 else O_DEC(opt, "quic-port", quic_port)
1185 else O_MEM(opt, "quic-size", quic_size)
1186 else O_YNO(opt, "use-systemd", use_systemd)
1187 else O_YNO(opt, "do-daemonize", do_daemonize)
1188 else O_STR(opt, "chroot", chrootdir)
1189 else O_STR(opt, "username", username)
1190 else O_STR(opt, "directory", directory)
1191 else O_STR(opt, "logfile", logfile)
1192 else O_YNO(opt, "log-queries", log_queries)
1193 else O_YNO(opt, "log-replies", log_replies)
1194 else O_YNO(opt, "log-tag-queryreply", log_tag_queryreply)
1195 else O_YNO(opt, "log-local-actions", log_local_actions)
1196 else O_YNO(opt, "log-servfail", log_servfail)
1197 else O_YNO(opt, "log-destaddr", log_destaddr)
1198 else O_STR(opt, "pidfile", pidfile)
1199 else O_YNO(opt, "hide-identity", hide_identity)
1200 else O_YNO(opt, "hide-version", hide_version)
1201 else O_YNO(opt, "hide-trustanchor", hide_trustanchor)
1202 else O_YNO(opt, "hide-http-user-agent", hide_http_user_agent)
1203 else O_STR(opt, "identity", identity)
1204 else O_STR(opt, "version", version)
1205 else O_STR(opt, "http-user-agent", http_user_agent)
1206 else O_STR(opt, "nsid", nsid_cfg_str)
1207 else O_STR(opt, "target-fetch-policy", target_fetch_policy)
1208 else O_YNO(opt, "harden-short-bufsize", harden_short_bufsize)
1209 else O_YNO(opt, "harden-large-queries", harden_large_queries)
1210 else O_YNO(opt, "harden-glue", harden_glue)
1211 else O_YNO(opt, "harden-unverified-glue", harden_unverified_glue)
1212 else O_YNO(opt, "harden-dnssec-stripped", harden_dnssec_stripped)
1213 else O_YNO(opt, "harden-below-nxdomain", harden_below_nxdomain)
1214 else O_YNO(opt, "harden-referral-path", harden_referral_path)
1215 else O_YNO(opt, "harden-algo-downgrade", harden_algo_downgrade)
1216 else O_YNO(opt, "harden-unknown-additional", harden_unknown_additional)
1217 else O_YNO(opt, "use-caps-for-id", use_caps_bits_for_id)
1218 else O_LST(opt, "caps-whitelist", caps_whitelist)
1219 else O_DEC(opt, "unwanted-reply-threshold", unwanted_threshold)
1220 else O_YNO(opt, "do-not-query-localhost", donotquery_localhost)
1221 else O_STR(opt, "module-config", module_conf)
1222 else O_DEC(opt, "val-bogus-ttl", bogus_ttl)
1223 else O_YNO(opt, "val-clean-additional", val_clean_additional)
1224 else O_DEC(opt, "val-log-level", val_log_level)
1225 else O_YNO(opt, "val-permissive-mode", val_permissive_mode)
1226 else O_YNO(opt, "aggressive-nsec", aggressive_nsec)
1227 else O_YNO(opt, "ignore-cd-flag", ignore_cd)
1228 else O_YNO(opt, "disable-edns-do", disable_edns_do)
1229 else O_YNO(opt, "serve-expired", serve_expired)
1230 else O_DEC(opt, "serve-expired-ttl", serve_expired_ttl)
1231 else O_YNO(opt, "serve-expired-ttl-reset", serve_expired_ttl_reset)
1232 else O_DEC(opt, "serve-expired-reply-ttl", serve_expired_reply_ttl)
1233 else O_DEC(opt, "serve-expired-client-timeout", serve_expired_client_timeout)
1234 else O_YNO(opt, "ede", ede)
1235 else O_YNO(opt, "ede-serve-expired", ede_serve_expired)
1236 else O_YNO(opt, "dns-error-reporting", dns_error_reporting)
1237 else O_DEC(opt, "iter-scrub-ns", iter_scrub_ns)
1238 else O_DEC(opt, "iter-scrub-cname", iter_scrub_cname)
1239 else O_DEC(opt, "max-global-quota", max_global_quota)
1240 else O_YNO(opt, "serve-original-ttl", serve_original_ttl)
1241 else O_STR(opt, "val-nsec3-keysize-iterations",val_nsec3_key_iterations)
1242 else O_YNO(opt, "zonemd-permissive-mode", zonemd_permissive_mode)
1243 else O_UNS(opt, "add-holddown", add_holddown)
1244 else O_UNS(opt, "del-holddown", del_holddown)
1245 else O_UNS(opt, "keep-missing", keep_missing)
1246 else O_YNO(opt, "permit-small-holddown", permit_small_holddown)
1247 else O_MEM(opt, "key-cache-size", key_cache_size)
1248 else O_DEC(opt, "key-cache-slabs", key_cache_slabs)
1249 else O_MEM(opt, "neg-cache-size", neg_cache_size)
1250 else O_YNO(opt, "control-enable", remote_control_enable)
1251 else O_DEC(opt, "control-port", control_port)
1252 else O_STR(opt, "server-key-file", server_key_file)
1253 else O_STR(opt, "server-cert-file", server_cert_file)
1254 else O_STR(opt, "control-key-file", control_key_file)
1255 else O_STR(opt, "control-cert-file", control_cert_file)
1256 else O_LST(opt, "root-hints", root_hints)
1257 else O_LS2(opt, "access-control", acls)
1258 else O_LS2(opt, "tcp-connection-limit", tcp_connection_limits)
1259 else O_LST(opt, "do-not-query-address", donotqueryaddrs)
1260 else O_LST(opt, "private-address", private_address)
1261 else O_LST(opt, "private-domain", private_domain)
1262 else O_LST(opt, "auto-trust-anchor-file", auto_trust_anchor_file_list)
1263 else O_LST(opt, "trust-anchor-file", trust_anchor_file_list)
1264 else O_LST(opt, "trust-anchor", trust_anchor_list)
1265 else O_LST(opt, "trusted-keys-file", trusted_keys_file_list)
1266 else O_YNO(opt, "trust-anchor-signaling", trust_anchor_signaling)
1267 else O_YNO(opt, "root-key-sentinel", root_key_sentinel)
1268 else O_LST(opt, "control-interface", control_ifs.first)
1269 else O_LST(opt, "domain-insecure", domain_insecure)
1270 else O_UNS(opt, "val-override-date", val_date_override)
1271 else O_YNO(opt, "minimal-responses", minimal_responses)
1272 else O_YNO(opt, "rrset-roundrobin", rrset_roundrobin)
1273 else O_DEC(opt, "unknown-server-time-limit", unknown_server_time_limit)
1274 else O_DEC(opt, "discard-timeout", discard_timeout)
1275 else O_DEC(opt, "wait-limit", wait_limit)
1276 else O_DEC(opt, "wait-limit-cookie", wait_limit_cookie)
1277 else O_LS2(opt, "wait-limit-netblock", wait_limit_netblock)
1278 else O_LS2(opt, "wait-limit-cookie-netblock", wait_limit_cookie_netblock)
1280 else O_LST(opt, "send-client-subnet", client_subnet)
1281 else O_LST(opt, "client-subnet-zone", client_subnet_zone)
1282 else O_DEC(opt, "max-client-subnet-ipv4", max_client_subnet_ipv4)
1283 else O_DEC(opt, "max-client-subnet-ipv6", max_client_subnet_ipv6)
1284 else O_DEC(opt, "min-client-subnet-ipv4", min_client_subnet_ipv4)
1285 else O_DEC(opt, "min-client-subnet-ipv6", min_client_subnet_ipv6)
1286 else O_DEC(opt, "max-ecs-tree-size-ipv4", max_ecs_tree_size_ipv4)
1287 else O_DEC(opt, "max-ecs-tree-size-ipv6", max_ecs_tree_size_ipv6)
1288 else O_YNO(opt, "client-subnet-always-forward:",
1292 else O_YNO(opt, "dnstap-enable", dnstap)
1293 else O_YNO(opt, "dnstap-bidirectional", dnstap_bidirectional)
1294 else O_STR(opt, "dnstap-socket-path", dnstap_socket_path)
1295 else O_STR(opt, "dnstap-ip", dnstap_ip)
1296 else O_YNO(opt, "dnstap-tls", dnstap_tls)
1297 else O_STR(opt, "dnstap-tls-server-name", dnstap_tls_server_name)
1298 else O_STR(opt, "dnstap-tls-cert-bundle", dnstap_tls_cert_bundle)
1299 else O_STR(opt, "dnstap-tls-client-key-file",
1301 else O_STR(opt, "dnstap-tls-client-cert-file",
1303 else O_YNO(opt, "dnstap-send-identity", dnstap_send_identity)
1304 else O_YNO(opt, "dnstap-send-version", dnstap_send_version)
1305 else O_STR(opt, "dnstap-identity", dnstap_identity)
1306 else O_STR(opt, "dnstap-version", dnstap_version)
1307 else O_UNS(opt, "dnstap-sample-rate", dnstap_sample_rate)
1308 else O_YNO(opt, "dnstap-log-resolver-query-messages",
1310 else O_YNO(opt, "dnstap-log-resolver-response-messages",
1312 else O_YNO(opt, "dnstap-log-client-query-messages",
1314 else O_YNO(opt, "dnstap-log-client-response-messages",
1316 else O_YNO(opt, "dnstap-log-forwarder-query-messages",
1318 else O_YNO(opt, "dnstap-log-forwarder-response-messages",
1322 else O_YNO(opt, "dnscrypt-enable", dnscrypt)
1323 else O_DEC(opt, "dnscrypt-port", dnscrypt_port)
1324 else O_STR(opt, "dnscrypt-provider", dnscrypt_provider)
1325 else O_LST(opt, "dnscrypt-provider-cert", dnscrypt_provider_cert)
1326 else O_LST(opt, "dnscrypt-provider-cert-rotated", dnscrypt_provider_cert_rotated)
1327 else O_LST(opt, "dnscrypt-secret-key", dnscrypt_secret_key)
1328 else O_MEM(opt, "dnscrypt-shared-secret-cache-size",
1330 else O_DEC(opt, "dnscrypt-shared-secret-cache-slabs",
1332 else O_MEM(opt, "dnscrypt-nonce-cache-size",
1334 else O_DEC(opt, "dnscrypt-nonce-cache-slabs",
1337 else O_YNO(opt, "unblock-lan-zones", unblock_lan_zones)
1338 else O_YNO(opt, "insecure-lan-zones", insecure_lan_zones)
1339 else O_DEC(opt, "max-udp-size", max_udp_size)
1340 else O_LST(opt, "python-script", python_script)
1341 else O_LST(opt, "dynlib-file", dynlib_file)
1342 else O_YNO(opt, "disable-dnssec-lame-check", disable_dnssec_lame_check)
1343 else O_DEC(opt, "ip-ratelimit-cookie", ip_ratelimit_cookie)
1344 else O_DEC(opt, "ip-ratelimit", ip_ratelimit)
1345 else O_DEC(opt, "ratelimit", ratelimit)
1346 else O_MEM(opt, "ip-ratelimit-size", ip_ratelimit_size)
1347 else O_MEM(opt, "ratelimit-size", ratelimit_size)
1348 else O_DEC(opt, "ip-ratelimit-slabs", ip_ratelimit_slabs)
1349 else O_DEC(opt, "ratelimit-slabs", ratelimit_slabs)
1350 else O_LS2(opt, "ratelimit-for-domain", ratelimit_for_domain)
1351 else O_LS2(opt, "ratelimit-below-domain", ratelimit_below_domain)
1352 else O_DEC(opt, "ip-ratelimit-factor", ip_ratelimit_factor)
1353 else O_DEC(opt, "ratelimit-factor", ratelimit_factor)
1354 else O_YNO(opt, "ip-ratelimit-backoff", ip_ratelimit_backoff)
1355 else O_YNO(opt, "ratelimit-backoff", ratelimit_backoff)
1356 else O_UNS(opt, "outbound-msg-retry", outbound_msg_retry)
1357 else O_UNS(opt, "max-sent-count", max_sent_count)
1358 else O_UNS(opt, "max-query-restarts", max_query_restarts)
1359 else O_DEC(opt, "fast-server-num", fast_server_num)
1360 else O_DEC(opt, "fast-server-permil", fast_server_permil)
1361 else O_DEC(opt, "val-sig-skew-min", val_sig_skew_min)
1362 else O_DEC(opt, "val-sig-skew-max", val_sig_skew_max)
1363 else O_DEC(opt, "val-max-restart", val_max_restart)
1364 else O_YNO(opt, "qname-minimisation", qname_minimisation)
1365 else O_YNO(opt, "qname-minimisation-strict", qname_minimisation_strict)
1366 else O_IFC(opt, "define-tag", num_tags, tagname)
1367 else O_LTG(opt, "local-zone-tag", local_zone_tags)
1368 else O_LTG(opt, "access-control-tag", acl_tags)
1369 else O_LTG(opt, "response-ip-tag", respip_tags)
1370 else O_LS3(opt, "local-zone-override", local_zone_overrides)
1371 else O_LS3(opt, "access-control-tag-action", acl_tag_actions)
1372 else O_LS3(opt, "access-control-tag-data", acl_tag_datas)
1373 else O_LS2(opt, "access-control-view", acl_view)
1374 else O_LS2(opt, "interface-action", interface_actions)
1375 else O_LTG(opt, "interface-tag", interface_tags)
1376 else O_LS3(opt, "interface-tag-action", interface_tag_actions)
1377 else O_LS3(opt, "interface-tag-data", interface_tag_datas)
1378 else O_LS2(opt, "interface-view", interface_view)
1379 else O_YNO(opt, "pad-responses", pad_responses)
1380 else O_DEC(opt, "pad-responses-block-size", pad_responses_block_size)
1381 else O_YNO(opt, "pad-queries", pad_queries)
1382 else O_DEC(opt, "pad-queries-block-size", pad_queries_block_size)
1383 else O_LS2(opt, "edns-client-strings", edns_client_strings)
1384 else O_LST(opt, "proxy-protocol-port", proxy_protocol_port)
1386 else O_YNO(opt, "ipsecmod-enabled", ipsecmod_enabled)
1387 else O_YNO(opt, "ipsecmod-ignore-bogus", ipsecmod_ignore_bogus)
1388 else O_STR(opt, "ipsecmod-hook", ipsecmod_hook)
1389 else O_DEC(opt, "ipsecmod-max-ttl", ipsecmod_max_ttl)
1390 else O_LST(opt, "ipsecmod-whitelist", ipsecmod_whitelist)
1391 else O_YNO(opt, "ipsecmod-strict", ipsecmod_strict)
1393 else O_YNO(opt, "answer-cookie", do_answer_cookie)
1394 else O_STR(opt, "cookie-secret-file", cookie_secret_file)
1396 else O_STR(opt, "backend", cachedb_backend)
1397 else O_STR(opt, "secret-seed", cachedb_secret)
1398 else O_YNO(opt, "cachedb-no-store", cachedb_no_store)
1399 else O_YNO(opt, "cachedb-check-when-serve-expired", cachedb_check_when_serve_expired)
1401 else O_STR(opt, "redis-server-host", redis_server_host)
1402 else O_STR(opt, "redis-replica-server-host", redis_replica_server_host)
1403 else O_DEC(opt, "redis-server-port", redis_server_port)
1404 else O_DEC(opt, "redis-replica-server-port", redis_replica_server_port)
1405 else O_STR(opt, "redis-server-path", redis_server_path)
1406 else O_STR(opt, "redis-replica-server-path", redis_replica_server_path)
1407 else O_STR(opt, "redis-server-password", redis_server_password)
1408 else O_STR(opt, "redis-replica-server-password", redis_replica_server_password)
1409 else O_DEC(opt, "redis-timeout", redis_timeout)
1410 else O_DEC(opt, "redis-replica-timeout", redis_replica_timeout)
1411 else O_DEC(opt, "redis-command-timeout", redis_command_timeout)
1412 else O_DEC(opt, "redis-replica-command-timeout", redis_replica_command_timeout)
1413 else O_DEC(opt, "redis-connect-timeout", redis_connect_timeout)
1414 else O_DEC(opt, "redis-replica-connect-timeout", redis_replica_connect_timeout)
1415 else O_YNO(opt, "redis-expire-records", redis_expire_records)
1416 else O_DEC(opt, "redis-logical-db", redis_logical_db)
1417 else O_DEC(opt, "redis-replica-logical-db", redis_replica_logical_db)
1421 else O_STR(opt, "name-v4", ipset_name_v4)
1422 else O_STR(opt, "name-v6", ipset_name_v6)