diff --git a/doc/misc/options b/doc/misc/options index 3fa81f4bae..cc69d66ec4 100644 --- a/doc/misc/options +++ b/doc/misc/options @@ -150,6 +150,14 @@ options { fstrm-set-output-queue-size ; // optional (only available if configured) fstrm-set-reopen-interval ; // optional (only available if configured) geoip-directory ( | none ); + grease-dns-flags ; + grease-edns-flags ; + grease-edns-known-flags ; + grease-edns-max-version ; + grease-edns-negotiation ; + grease-nsid ; + grease-rate ; + grease-until ; hostname ( | none ); http-listener-clients ; // optional (only available if configured) http-port ; // optional (only available if configured) @@ -331,6 +339,9 @@ server { edns ; edns-udp-size ; edns-version ; + grease-dns-flags ; + grease-edns-flags ; + grease-edns-negotiation ; keys ; max-udp-size ; notify-source ( | * ); @@ -442,6 +453,14 @@ view [ ] { fetches-per-zone [ ( drop | fail ) ]; forward ( first | only ); forwarders [ port ] [ tls ] { ( | ) [ port ] [ tls ]; ... }; + grease-dns-flags ; + grease-edns-flags ; + grease-edns-known-flags ; + grease-edns-max-version ; + grease-edns-negotiation ; + grease-nsid ; + grease-rate ; + grease-until ; ipv4only-contact ; ipv4only-enable ; ipv4only-server ; @@ -549,6 +568,9 @@ view [ ] { edns ; edns-udp-size ; edns-version ; + grease-dns-flags ; + grease-edns-flags ; + grease-edns-negotiation ; keys ; max-udp-size ; notify-source ( | * ); diff --git a/lib/isccfg/namedconf.c b/lib/isccfg/namedconf.c index 85d1c531c0..c3c8a693f9 100644 --- a/lib/isccfg/namedconf.c +++ b/lib/isccfg/namedconf.c @@ -2056,6 +2056,14 @@ static cfg_clausedef_t view_clauses[] = { { "filter-aaaa-on-v4", NULL, CFG_CLAUSEFLAG_ANCIENT }, { "filter-aaaa-on-v6", NULL, CFG_CLAUSEFLAG_ANCIENT }, { "glue-cache", NULL, CFG_CLAUSEFLAG_ANCIENT }, + { "grease-dns-flags", &cfg_type_boolean, 0 }, + { "grease-edns-flags", &cfg_type_boolean, 0 }, + { "grease-edns-known-flags", &cfg_type_uint32, 0 }, + { "grease-edns-max-version", &cfg_type_uint32, 0 }, + { "grease-edns-negotiation", &cfg_type_boolean, 0 }, + { "grease-nsid", &cfg_type_boolean, 0 }, + { "grease-rate", &cfg_type_percentage, 0 }, + { "grease-until", &cfg_type_astring, 0 }, { "ipv4only-enable", &cfg_type_boolean, 0 }, { "ipv4only-contact", &cfg_type_astring, 0 }, { "ipv4only-server", &cfg_type_astring, 0 }, @@ -2591,6 +2599,9 @@ static cfg_clausedef_t server_clauses[] = { { "edns", &cfg_type_boolean, 0 }, { "edns-udp-size", &cfg_type_uint32, 0 }, { "edns-version", &cfg_type_uint32, 0 }, + { "grease-dns-flags", &cfg_type_boolean, 0 }, + { "grease-edns-flags", &cfg_type_boolean, 0 }, + { "grease-edns-negotiation", &cfg_type_boolean, 0 }, { "keys", &cfg_type_server_key_kludge, 0 }, { "max-udp-size", &cfg_type_uint32, 0 }, { "notify-source", &cfg_type_sockaddr4wild, 0 },