Logo
Explore Help
Sign In
Mirrors/coredns
1
0
Fork 0
You've already forked coredns
mirror of https://github.com/coredns/coredns.git synced 2025-11-13 07:22:16 -05:00
Code Issues Packages Projects Releases Wiki Activity
Files
bf0a29c53230c21e8e383050571dc8c68affb55b
coredns/plugin/loop/log_test.go

6 lines
102 B
Go
Raw Normal View History

New plugin: loop (#1989) * New plugin: loop Add a plugin that detects loops. It does this by sending an unique query to our selves. If we see the query more than twice we stop the process. If there isn't a loop, the plugin disables it self and becomes a noop plugin. Signed-off-by: Miek Gieben <miek@miek.nl>
2018-07-20 19:45:17 +01:00
package loop
import clog "github.com/coredns/coredns/plugin/pkg/log"
func init() { clog.Discard() }
Reference in New Issue Copy Permalink
Powered by Gitea Version: 1.25.1 Page: 76ms Template: 1ms
English
Bahasa Indonesia Deutsch English Español Français Gaeilge Italiano Latviešu Magyar nyelv Nederlands Polski Português de Portugal Português do Brasil Suomi Svenska Türkçe Čeština Ελληνικά Български Русский Українська فارسی മലയാളം 日本語 简体中文 繁體中文(台灣) 繁體中文(香港) 한국어
Licenses API