mirror of
https://github.com/coredns/coredns.git
synced 2025-11-01 10:43:17 -04:00
Implement chaos middleware
This allows for CH TXT queries that return some information about the server and/or the authors (or whatever you put in there).
This commit is contained in:
@@ -66,8 +66,8 @@ func (r *ResponseRecorder) Start() time.Time {
|
||||
return r.start
|
||||
}
|
||||
|
||||
// Reply returns the written message from the ResponseRecorder.
|
||||
func (r *ResponseRecorder) Reply() *dns.Msg {
|
||||
// Msg returns the written message from the ResponseRecorder.
|
||||
func (r *ResponseRecorder) Msg() *dns.Msg {
|
||||
return r.msg
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user