From e77f01d1ca1e2911f110cbe281a1248e3d8318a7 Mon Sep 17 00:00:00 2001 From: bert hubert Date: Mon, 30 Oct 2017 11:15:15 +0100 Subject: [PATCH] --trace logging with more details about trust anchors, plus ttl of auth data Print more details of trust anchors. In addition, the --trace output that mentions if data from authoritative servers gets accepted now also prints the TTL and clarifies the 'place' number previously printed. --- pdns/syncres.cc | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/pdns/syncres.cc b/pdns/syncres.cc index 8611d5e27..69e9f410b 100644 --- a/pdns/syncres.cc +++ b/pdns/syncres.cc @@ -1440,20 +1440,24 @@ vState SyncRes::getTA(const DNSName& zone, dsmap_t& ds) auto luaLocal = g_luaconfs.getLocal(); if (luaLocal->dsAnchors.empty()) { + LOG(d_prefix<<": No trust anchors configured, everything is Insecure"<negAnchors, zone, reason)) { - LOG(d_prefix<<": got NTA for "<dsAnchors, zone, ds)) { - LOG(d_prefix<<": got TA for "<dsAnchors.size()<getZoneRepresentation()<<"' from '"<getZoneRepresentation()<<"' from '"<