[Pdns-users] Logging to /var/log/messages
b.candler at pobox.com
Thu Sep 14 14:44:01 UTC 2023
On 14/09/2023 15:32, Ian Goldstein (BLOOMBERG/ 120 PARK) wrote:
> The log entry that appears in my pdns.log is:
> Sep 14 09:07:52 xxxxxx-232 pdns: AXFR of domain 'foo.bar.com' to
> 126.96.36.199 finished
> The entry that appears in /var/log/messages:
> Sep 14 09:26:30 xxxxxx-209 pdns_server: AXFR of domain 'foo.bar.com'
> initiated by 188.8.131.52
> also, the output from journalctl shows 2 entries
> Sep 14 10:22:41 xxxxxx-209 pdns_server: AXFR of domain
> 'foo.bar.com' to 184.108.40.206finished
> Sep 14 10:22:41 xxxxxx-209 pdns: AXFR of domain 'foo.bar.com'
> to 220.127.116.11 finished
xxxxxx-232 and xxxxxx-209 appear to be two different hostnames, and you
might want to check why one is running "pdns", one is running
"pdns_server", and some logs show the PID and some don't. Basically
those logs are too obfuscated to be meaningful.
journalctl is going to show the logs which are coming directly from
powerdns on stdout/stderr.
Apart from that, I think you'd be better off asking your question on an
rsyslog mailing list, since powerdns has no control over how rsyslog
processes or writes logs.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Pdns-users