Categorygithub.com/dmachard/go-dnstap-generator
repositorypackage
0.8.0
Repository: https://github.com/dmachard/go-dnstap-generator.git
Documentation: pkg.go.dev

# README

go-dnstap-generator

A tool for generating random dnstap messages, designed specifically for testing purposes.

Command:

To run the generator, use the following command:

./go-dnstap-generator -c 2 -n 1000000 -i 127.0.0.1

Here are the available options you can use:

  -c int
        number of connection (default 1)
  -d int
        domain length (default 60)
  -i string
        remote address of the dnstap receiver (default "127.0.0.1")
  -n int
        number of dnstap message to send (default 1)
  -noqueries
        don't send dnstap queries
  -noreplies
        don't send dnstap replies
  -p int
        remote port of the dnstap receiver (default 6000)