Giter Site home page Giter Site logo

Comments (6)

dmachard avatar dmachard commented on August 22, 2024 1

by the way, feel free to make a pull request :)

from go-dnscollector.

dmachard avatar dmachard commented on August 22, 2024

The stream_id contains the name of your resolver identity (with dnstap collect), it's not sufficient?

from go-dnscollector.

flz avatar flz commented on August 22, 2024

Maybe I misunderstand what QueryIP and ResponseIP are then.

My use case is to deploy the dns-sniffer (not dnstap) collector on a bunch of machines and get client-side DNS metrics. I don't necessarily control what resolvers they use through /etc/resolv.conf and being able to have per-resolver latency metrics for example gives me better visibility over resolver performance.

Hope this helps!

from go-dnscollector.

dmachard avatar dmachard commented on August 22, 2024

The queryip is the source IP of the client and response IP should be the IP of the resolver.

2022-09-26T14:13:09.261751412Z denis-laptop CLIENT_QUERY NOERROR 192.168.1.17 46767 8.8.8.8 53 INET UDP 54b www.google.fr A 0.000000
2022-09-26T14:13:09.278427556Z denis-laptop CLIENT_RESPONSE NOERROR 192.168.1.17 46767 8.8.8.8 53 INET UDP 58b www.google.fr A 0.016676

I can add a new setting parameter to add the label for response IP (but not enabled by default ,you're right)

from go-dnscollector.

flz avatar flz commented on August 22, 2024

I'll try and take a stab at it when I get a chance. I haven't had to write golang code (yet) :-)

from go-dnscollector.

dmachard avatar dmachard commented on August 22, 2024

implemented in release v0.35

from go-dnscollector.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.