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
Jeroen Koekkoek authored and k0ekk0ek committed Nov 26, 2024
1 parent 6359234 commit 3ea803f
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
Expand Up @@ -22,6 +22,9 @@
- Many thanks to Melroy van den Berg for the documentation improvements
and fixes in PRs #391, #394, #395 and #404

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 @@ -29,6 +29,7 @@ BUG FIXES:
- Merge #395: Explain zonefile example better
- Merge #394: Fix doc path (fixes "Edit on GitHub" button in the docs)
- Fix Makefile for parallel build failure around bison rule.
- 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 3ea803f

Please sign in to comment.