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-10-28 00:34:24 -04:00
Code Issues Packages Projects Releases Wiki Activity
Files
9210bd145d57924e0dbd8620a2c7ae9e6acec90b
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.24.7 Page: 81ms 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