RRSIGS for PTR records from cache.

This commit is contained in:
Simon Kelley
2014-01-24 22:37:25 +00:00
parent 32f90c0fad
commit 2d33bda2e6
3 changed files with 72 additions and 37 deletions

View File

@@ -1255,7 +1255,7 @@ void dump_cache(time_t now)
{
char *a = daemon->addrbuff, *p = daemon->namebuff, *n = cache_get_name(cache);
*a = 0;
if (strlen(n) == 0)
if (strlen(n) == 0 && !(cache->flags & F_REVERSE))
n = "<Root>";
p += sprintf(p, "%-40.40s ", n);
if ((cache->flags & F_CNAME) && !is_outdated_cname_pointer(cache))