-
-
Notifications
You must be signed in to change notification settings - Fork 50
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add collector for PowerDNS protocol buffers #39
Comments
external protobuf library for powerdns under development https://github.com/dmachard/go-powerdns-protobuf |
Thanks for your work, first of all. I am testing the release and so far I am seeing only one issue. The field "query-ip" shows [
{
"network":{
"family":"INET",
"protocol":"UDP",
"query-ip":"\u003cnil\u003e",
"query-port":"0",
"response-ip":"10.0.0.1",
"response-port":"53",
"as-number":"-",
"as-owner":"-"
},
"dns":{
"length":54,
"opcode":0,
"rcode":"-",
"qname":"www.apple.com.",
"qname-public-suffix":"com",
"qname-effective-tld-plus-one":"apple.com",
"qtype":"A",
"flags":{
"qr":false,
"tc":false,
"aa":false,
"ra":false,
"ad":false
},
"resource-records":{
"an":[
],
"ns":[
],
"ar":[
]
},
"malformed-packet":0
},
"edns":{
"udp-size":0,
"rcode":0,
"version":0,
"dnssec-ok":0,
"options":[
]
},
"dnstap":{
"operation":"DNSOutgoingQueryType",
"identity":"my-powerdns-recursor-server",
"timestamp-rfc3339ns":"2022-03-07T15:14:42.000041676Z",
"latency":"-"
},
"geo":{
"city":"-",
"continent":"-",
"country-isocode":"-"
}
},
{
"network":{
"family":"INET",
"protocol":"UDP",
"query-ip":"\u003cnil\u003e",
"query-port":"0",
"response-ip":"10.0.0.1",
"response-port":"53",
"as-number":"-",
"as-owner":"-"
},
"dns":{
"length":210,
"opcode":0,
"rcode":"NOERROR",
"qname":"www.apple.com.",
"qname-public-suffix":"com",
"qname-effective-tld-plus-one":"apple.com",
"qtype":"A",
"flags":{
"qr":false,
"tc":false,
"aa":false,
"ra":false,
"ad":false
},
"resource-records":{
"an":[
{
"name":"",
"rdatatype":"CNAME",
"ttl":1473,
"rdata":"www.apple.com.edgekey.net."
},
{
"name":"",
"rdatatype":"CNAME",
"ttl":11228,
"rdata":"www.apple.com.edgekey.net.globalredir.akadns.net."
},
{
"name":"",
"rdatatype":"CNAME",
"ttl":926,
"rdata":"e6858.dscx.akamaiedge.net."
},
{
"name":"",
"rdatatype":"A",
"ttl":20,
"rdata":"23.222.19.65"
}
],
"ns":[
],
"ar":[
]
},
"malformed-packet":0
},
"edns":{
"udp-size":0,
"rcode":0,
"version":0,
"dnssec-ok":0,
"options":[
]
},
"dnstap":{
"operation":"DNSIncomingResponseType",
"identity":"my-powerdns-recursor-server",
"timestamp-rfc3339ns":"2022-03-07T15:14:42.000045485Z",
"latency":"0.003809"
},
"geo":{
"city":"-",
"continent":"-",
"country-isocode":"-"
}
}
] This is with PowerDNS Recursor with |
Thank for the feedback, |
I can confirm the fix works. For the rest, I've been running the collector for a day, with no issues. |
v0.17.0 release available |
Unfortunately DNSTAP support is quite limited in PowerDNS. Would it be possible to add a collector for PowerDNS protocol buffers ?
Thanks in advance,
Carlo
The text was updated successfully, but these errors were encountered: