|
@@ -18,7 +18,7 @@ import (
|
|
|
|
|
|
// Define log to be a logger with the plugin name in it. This way we can just use log.Info and
|
|
|
// friends to log.
|
|
|
-var log = clog.NewWithPlugin("example")
|
|
|
+var log = clog.NewWithPlugin("bumple")
|
|
|
|
|
|
// Example is an example plugin to show how to write a plugin.
|
|
|
type Example struct {
|
|
@@ -48,7 +48,7 @@ func (e Example) ServeDNS(ctx context.Context, w dns.ResponseWriter, r *dns.Msg)
|
|
|
}
|
|
|
|
|
|
// Name implements the Handler interface.
|
|
|
-func (e Example) Name() string { return "example" }
|
|
|
+func (e Example) Name() string { return "bumple" }
|
|
|
|
|
|
// ResponsePrinter wrap a dns.ResponseWriter and will write example to standard output when WriteMsg is called.
|
|
|
type ResponsePrinter struct {
|