[dnsdist] DNSDIST syslog
Simone Beccato
s.beccato at it.net
Wed May 20 12:40:47 UTC 2020
Hi all,
on Centos 8 I'm trying to configure dnsdist to write logs to disk, in the documentation I found that I have to fix the systemd file and set Syslog Facility in pdns so I made this changes:
/usr/lib/systemd/system/dnsdist.service
ExecStart=/usr/bin/dnsdist -u dnsdist -g dnsdist -supervised
systemctl daemon-reload
mkdir /var/log/dnsdist
/etc/rsyslog.d/dnsdist.conf
local0.* -/var/log/dnsdist/dnsdist-info.log
/etc/dnsdist/dnsdist.conf
setSyslogFacility(0)
systemctl restart rsyslog
systemctl restart dnsdist
But no .log files are written to disk, I see only dnsdist logs in /var/log/messages
Someone is using rsyslog or can help me identifying what's wrong?
Thanks to all!
Simone
----------------------------------------------
[logo_itnet_piccolo]
SIMONE BECCATO
Cloud Architect
ITNET S.r.l.
Via del Bosco Rinnovato 8 - Palazzo U4
20090 Assago Milanofiori Nord (MI)
www.it.net<http://www.it.net/>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.powerdns.com/pipermail/dnsdist/attachments/20200520/37645678/attachment.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image001.png
Type: image/png
Size: 2742 bytes
Desc: image001.png
URL: <http://mailman.powerdns.com/pipermail/dnsdist/attachments/20200520/37645678/attachment.png>
More information about the dnsdist
mailing list