summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSimon Kelley <simon@thekelleys.org.uk>2018-07-20 21:23:56 +0100
committerSimon Kelley <simon@thekelleys.org.uk>2018-07-20 21:23:56 +0100
commit3b6eb197a88ff450fb6abeff67152a592a7d683a (patch)
tree0d0e8277e08fe7a37c5c83e230dd5fcb20a64191
parentf3e57877edeed914b314f3d46a3b709f3377a03b (diff)
downloaddnsmasq-3b6eb197a88ff450fb6abeff67152a592a7d683a.tar.gz
Log DNSSEC trust anchors at startup.v2.80test3
-rw-r--r--src/dnsmasq.c7
1 files changed, 6 insertions, 1 deletions
diff --git a/src/dnsmasq.c b/src/dnsmasq.c
index ff2c7f2..480c5f9 100644
--- a/src/dnsmasq.c
+++ b/src/dnsmasq.c
@@ -771,7 +771,8 @@ int main (int argc, char **argv)
if (option_bool(OPT_DNSSEC_VALID))
{
int rc;
-
+ struct ds_config *ds;
+
/* Delay creating the timestamp file until here, after we've changed user, so that
it has the correct owner to allow updating the mtime later.
This means we have to report fatal errors via the pipe. */
@@ -792,6 +793,10 @@ int main (int argc, char **argv)
if (rc == 1)
my_syslog(LOG_INFO, _("DNSSEC signature timestamps not checked until system time valid"));
+
+ for (ds = daemon->ds; ds; ds = ds->next)
+ my_syslog(LOG_INFO, _("configured with trust anchor for %s keytag %u"),
+ ds->name[0] == 0 ? "<root>" : ds->name, ds->keytag);
}
#endif