[Pdns-users] DNS query logging via protobufServer
sandmant at rice.edu
sandmant at rice.edu
Thu Jun 3 00:05:02 UTC 2021
I have been successfully exporting DNS queries via protobufServer, but I have now been requested to not export PTR lookups. I removed PTR queries from the protobufServer exportTypes:
< {'A', 'AAAA', 'CNAME', 'MX', 'PTR', 'NS', 'SPF', 'SRV', 'TXT'}
> {'A', 'AAAA', 'CNAME', 'MX', 'NS', 'SPF', 'SRV', 'TXT'}
I stopped and started pdns-recursor. But I am still seeing PTR query logs. For instance:
2021-06-02T16:37:43.153613-05:00 dnslogger-n2 pdns-in[2202729]: QID: 35371 from: 168.7.56.224 qtype: PTR qclass: IN qname: 224.56.7.168.in-addr.arpa. rcode: NOERROR rrcount: 0
Is the protobufServer exportTypes list being ignored, or am I missing something?
System details:
RHEL8.2
pdns-recursor-4.4.2-1pdns.el8.x86_64 from https://repo.powerdns.com/repo-files/centos-rec-44.repo
root at net1:/etc/pdns-recursor> grep lua-config-file recursor.conf
lua-config-file=/etc/pdns-recursor/lua.conf
root at net1:/etc/pdns-recursor> cat /etc/pdns-recursor/lua.conf
protobufServer("10.129.81.10:9001",
{ logQueries=true,
logResponses=true,
exportTypes=
{'A', 'AAAA', 'CNAME', 'MX', 'NS', 'SPF', 'SRV', 'TXT'}
} )
Thanks for any advice.
Tod A. Sandman
Sr. Systems Administrator
Office of Information Technology
Rice University
More information about the Pdns-users
mailing list