Skip to content

Commit

Permalink
Treat a mismatch in RRset TTLs as a warning
Browse files Browse the repository at this point in the history
Fixes #396.
  • Loading branch information
k0ekk0ek committed Oct 28, 2024
1 parent 31c0fa0 commit a5ddeca
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 1 deletion.
3 changes: 3 additions & 0 deletions doc/ChangeLog
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
28 October 2024: Jeroen
- Fix #396: Treat a mismatch in RRset TTLs as a warning.

24 October 2024: Wouter
- Fix #392: Inconsistent documentation about control-interface.
- Merge #395: Explain the zonefile example better.
Expand Down
1 change: 1 addition & 0 deletions doc/RELNOTES
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ BUG FIXES:
- Merge #395: Explain the zonefile example better.
- Merge #394: Fix the path to use doc/manual/.
- Fix analyzer issue in do_print_cookie_secrets to check for failure.
- Treat a mismatch in RRset TTLs as a warning.

4.10.1
================
Expand Down
2 changes: 1 addition & 1 deletion zonec.c
Original file line number Diff line number Diff line change
Expand Up @@ -267,7 +267,7 @@ int32_t zonec_accept(
} else {
struct rr *rrs;
if (type != TYPE_RRSIG && ttl != rrset->rrs[0].ttl) {
zone_log(parser, priority, "%s TTL %"PRIu32" does not match TTL %u of %s RRset",
zone_log(parser, ZONE_WARNING, "%s TTL %"PRIu32" does not match TTL %u of %s RRset",
domain_to_string(domain), ttl, rrset->rrs[0].ttl,
rrtype_to_string(type));
}
Expand Down

0 comments on commit a5ddeca

Please sign in to comment.