diff --git a/plugin/forward/forward.go b/plugin/forward/forward.go index 3ea255161..d244218b5 100644 --- a/plugin/forward/forward.go +++ b/plugin/forward/forward.go @@ -75,6 +75,11 @@ func (f *Forward) SetProxy(p *proxy.Proxy) { p.Start(f.hcInterval) } +// SetProxyOptions setup proxy options +func (f *Forward) SetProxyOptions(opts proxy.Options) { + f.opts = opts +} + // SetTapPlugin appends one or more dnstap plugins to the tap plugin list. func (f *Forward) SetTapPlugin(tapPlugin *dnstap.Dnstap) { f.tapPlugins = append(f.tapPlugins, tapPlugin)