Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- Host: GitHub
- URL: https://github.com/jw4/nspub
- Owner: jw4
- License: mit
- Created: 2018-03-28T21:25:34.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2020-01-15T21:27:24.000Z (almost 5 years ago)
- Last Synced: 2024-06-21T18:56:35.717Z (5 months ago)
- Topics: coredns-plugin, dns, nsq
- Language: Go
- Size: 2.2 MB
- Stars: 2
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
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`.