mirror of
https://github.com/coredns/coredns.git
synced 2025-10-28 16:54:15 -04:00
Add state.SizeAndDo()
This methods returns an OPT record which can be used to create a new message with the same bufsize and Do bit as the original one.
This commit is contained in:
@@ -12,7 +12,6 @@ type ReverseProxy struct {
|
||||
}
|
||||
|
||||
func (p ReverseProxy) ServeDNS(w dns.ResponseWriter, r *dns.Msg, extra []dns.RR) error {
|
||||
// TODO(miek): use extra to EDNS0.
|
||||
var (
|
||||
reply *dns.Msg
|
||||
err error
|
||||
|
||||
Reference in New Issue
Block a user