Browse Source

[1791] updated the log description for mismatched TTLs.

it didn't seem correct to say "it's not allowed on the wire".  this
restriction is more about the definition of the RRset concept, rather than
what we'd see in the wire.  also added a reference to the relevant RFC (2181).
JINMEI Tatuya 13 years ago
parent
commit
7610a7bace
1 changed files with 6 additions and 4 deletions
  1. 6 4
      src/lib/datasrc/datasrc_messages.mes

+ 6 - 4
src/lib/datasrc/datasrc_messages.mes

@@ -145,10 +145,12 @@ While iterating through the zone, the program extracted next RRset from it.
 The name and RRtype of the RRset is indicated in the message.
 
 % DATASRC_DATABASE_ITERATE_TTL_MISMATCH TTL values differ for RRs of %1/%2/%3, setting to %4
-While iterating through the zone, the time to live for RRs of the given RRset
-were found to be different. This isn't allowed on the wire and is considered
-an error, so we set it to the lowest value we found (but we don't modify the
-database). The data in database should be checked and fixed.
+While iterating through the zone, the time to live for RRs of the
+given RRset were found to be different. Since an RRset cannot have
+multiple TTLs, we set it to the lowest value we found (but we don't
+modify the database). This is what the client would do when such RRs
+were given in a DNS response according to RFC2181. The data in
+database should be checked and fixed.
 
 % DATASRC_DATABASE_JOURNALREADER_END %1/%2 on %3 from %4 to %5
 This is a debug message indicating that the program (successfully)