mirror of
https://gitlab.isc.org/isc-projects/bind9
synced 2025-08-31 06:25:31 +00:00
Use stale TTL as RRset TTL in dumpdb
It is more intuitive to have the countdown 'max-stale-ttl' as the RRset TTL, instead of 0 TTL. This information was already available in a comment "; stale (will be retained for x more seconds", but Support suggested to put it in the TTL field instead.
This commit is contained in:
@@ -1108,10 +1108,7 @@ again:
|
||||
} else {
|
||||
isc_result_t result;
|
||||
if (STALE(rds)) {
|
||||
fprintf(f,
|
||||
"; stale (will be retained for %u more "
|
||||
"seconds)\n",
|
||||
rds->stale_ttl);
|
||||
fprintf(f, "; stale\n");
|
||||
} else if (ANCIENT(rds)) {
|
||||
isc_buffer_t b;
|
||||
char buf[sizeof("YYYYMMDDHHMMSS")];
|
||||
|
Reference in New Issue
Block a user