mirror of
				https://github.com/coredns/coredns.git
				synced 2025-10-31 10:13:14 -04:00 
			
		
		
		
	Added SetProxyOptions function for forward plugin (#7229)
				
					
				
			Signed-off-by: Paramoshka <parfenov_ivan_42a@mail.ru>
This commit is contained in:
		| @@ -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) | ||||
|   | ||||
		Reference in New Issue
	
	Block a user