diff options
| author | Cy Schubert <cy@FreeBSD.org> | 2024-10-18 13:52:55 +0000 |
|---|---|---|
| committer | Cy Schubert <cy@FreeBSD.org> | 2024-10-18 13:52:55 +0000 |
| commit | 0a6d797cf6eb751d7eb613900cd19803e05d905f (patch) | |
| tree | c52b0ffbf8879fbe81816528e0fc7c3dd0f64e1f /iterator/iter_utils.h | |
| parent | 9b8db746ac608ff7cdad3c9ac7ac395319e4ea0f (diff) | |
Diffstat (limited to 'iterator/iter_utils.h')
| -rw-r--r-- | iterator/iter_utils.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/iterator/iter_utils.h b/iterator/iter_utils.h index 4024629e686c..0361e43775e1 100644 --- a/iterator/iter_utils.h +++ b/iterator/iter_utils.h @@ -428,4 +428,11 @@ int iter_stub_fwd_no_cache(struct module_qstate *qstate, void iterator_set_ip46_support(struct module_stack* mods, struct module_env* env, struct outside_network* outnet); +/** + * Limit NSEC and NSEC3 TTL in response, RFC9077 + * @param msg: dns message, the SOA record ttl is used to restrict ttls + * of NSEC and NSEC3 RRsets. If no SOA record, nothing happens. + */ +void limit_nsec_ttl(struct dns_msg* msg); + #endif /* ITERATOR_ITER_UTILS_H */ |
