mirror of
https://github.com/pi-hole/dnsmasq.git
synced 2025-12-19 18:28:25 +00:00
Log DNSSEC trust anchors at startup.
This commit is contained in:
@@ -771,7 +771,8 @@ int main (int argc, char **argv)
|
|||||||
if (option_bool(OPT_DNSSEC_VALID))
|
if (option_bool(OPT_DNSSEC_VALID))
|
||||||
{
|
{
|
||||||
int rc;
|
int rc;
|
||||||
|
struct ds_config *ds;
|
||||||
|
|
||||||
/* Delay creating the timestamp file until here, after we've changed user, so that
|
/* 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.
|
it has the correct owner to allow updating the mtime later.
|
||||||
This means we have to report fatal errors via the pipe. */
|
This means we have to report fatal errors via the pipe. */
|
||||||
@@ -792,6 +793,10 @@ int main (int argc, char **argv)
|
|||||||
|
|
||||||
if (rc == 1)
|
if (rc == 1)
|
||||||
my_syslog(LOG_INFO, _("DNSSEC signature timestamps not checked until system time valid"));
|
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
|
#endif
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user