mirror of
https://github.com/coredns/coredns.git
synced 2025-10-28 00:34:24 -04:00
Easier way to dnstap? (#1496)
* Easier way to dnstap? * Remove unnecessary function parameter from Tapper * golint * golint 2 * Proxy dnstap tests * README.md & doc * net.IP * Proxy test was incorrect * Small changes * Update README.md * Was not reporting dnstap errors + test * Wasn't working at all, now it's ok * Thanks Travis
This commit is contained in:
@@ -66,7 +66,7 @@ func setup(c *caddy.Controller) error {
|
||||
}
|
||||
|
||||
dio := dnstapio.New(conf.target, conf.socket)
|
||||
dnstap := Dnstap{IO: dio, Pack: conf.full}
|
||||
dnstap := Dnstap{IO: dio, JoinRawMessage: conf.full}
|
||||
|
||||
c.OnStartup(func() error {
|
||||
dio.Connect()
|
||||
|
||||
Reference in New Issue
Block a user