[dnsdist] How get ECS in DnsDist logs ?

david.neau at orange.com david.neau at orange.com
Mon Sep 30 13:28:04 UTC 2024


Hello everybody,

I'm trying to log the client subnet with DnsDist, actually I only have the IP of the DNS server requesting :

[1727699139.669387387] Packet from 192.29.141.4:38506 for foo.bar. A with id 51444


cat /etc/systemd/system/pdns.service.d/02_service_extra_options.conf
[Service]
SyslogFacility=local0

cat /etc/pdns/pdns.conf
loglevel=10
log-dns-queries=yes
query-logging=yes


logging-facility=1

System : Red Hat 8, 4.18.0-513.11.1.el8_9.x86_64

Thanks for your help
Regards
/david
Orange Restricted



Orange Restricted
____________________________________________________________________________________________________________
Ce message et ses pieces jointes peuvent contenir des informations confidentielles ou privilegiees et ne doivent donc
pas etre diffuses, exploites ou copies sans autorisation. Si vous avez recu ce message par erreur, veuillez le signaler
a l'expediteur et le detruire ainsi que les pieces jointes. Les messages electroniques etant susceptibles d'alteration,
Orange decline toute responsabilite si ce message a ete altere, deforme ou falsifie. Merci.

This message and its attachments may contain confidential or privileged information that may be protected by law;
they should not be distributed, used or copied without authorisation.
If you have received this email in error, please notify the sender and delete this message and its attachments.
As emails may be altered, Orange is not liable for messages that have been modified, changed or falsified.
Thank you.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.powerdns.com/pipermail/dnsdist/attachments/20240930/9852b9a9/attachment.htm>


More information about the dnsdist mailing list