Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/jw4/nspub

CoreDNS to NSQ publisher
https://github.com/jw4/nspub

coredns-plugin dns nsq

Last synced: 4 days ago
JSON representation

CoreDNS to NSQ publisher

Awesome Lists containing this project

README

        

# nspub

Package nspub provides a [CoreDNS](https://github.com/coredns/coredns/) plugin to publish successful DNS lookups to [NSQ](https://github.com/nsqio/nsq).

To use this plugin, CoreDNS must be compiled with this plugin by adding `nspub:jw4.us/nspub` to the plugins.cfg file, at the desired level.
If in doubt, put it right before the line that has `log:log`.

The plugin is configured in the Corefile, inside the desired definition block.
The topic and address arguments are required.

Example Corefile:

```
. {
whoami
nspub


}
```

Where `` is whatever the NSQ topic name should be, and `

` is the NSQ TCP address, like `10.0.0.1:4150`.