[prev in list] [next in list] [prev in thread] [next in thread] 

List:       pdns-users
Subject:    [Pdns-users] Missing tags in protobuf query messages
From:       Djerk Geurts via Pdns-users <pdns-users () mailman ! powerdns ! com>
Date:       2022-10-13 12:28:29
Message-ID: F119CD36-AF1D-41F0-B224-C5B90E7396D4 () maizymoo ! com
[Download RAW message or body]

Hi all,

Working on a protobuf feed into Telegraf and I'm now noticing that no tags are set in \
the generated messages.

I'm on v4.9.0, I guess I could/should try stable, but thought I'd ask here first \
before downgrading.

The relevant bits of recursor.lua config:

-- DNS filtering via RPZ feeds
rpzPrimary("10.0.0.3", "malware-bl.ioc2rpz", {
  extendedErrorCode=15, extendedErrorExtra="BlockListed: malware",
  tsigname="****", tsigalgo="hmac-sha256",
  tsigsecret="******",
  policyName="malware",
  tags={ "test_tag1" }
})
-- RPZ query logging
protobufServer("127.0.0.1:8000", {
  taggedOnly=false,
  logQueries=true,
  logResponses=false,
  exportTypes={'A', 'AAAA', 'CNAME', 'MX', 'NS', 'PTR', 'SPF', 'SRV', 'TXT'}
})

What I'm missing in the sent data is the policyName, according to the documentation \
setting this will add a tag with that value to the protobuf message. And adding tags \
should also add extra tags. However I see none and if I set taggedOnly to true then \
no protobuf messages are sent at all. So I'm certain that no tags are set.

Is this a bug or am I missing something?!

-- Djerk Geurts

_______________________________________________
Pdns-users mailing list
Pdns-users@mailman.powerdns.com
https://mailman.powerdns.com/mailman/listinfo/pdns-users


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic