Revert diagnostic ServeDNS log line
This commit is contained in:
parent
19e93e39e1
commit
1fe95e3f6c
2 changed files with 54 additions and 1 deletions
|
|
@ -75,7 +75,6 @@ func (p *RFC2136) Name() string { return "rfc2136" }
|
|||
// Anything else → pass through to Next (the auto plugin handles
|
||||
// queries against the zone files we maintain).
|
||||
func (p *RFC2136) ServeDNS(ctx context.Context, w dns.ResponseWriter, r *dns.Msg) (int, error) {
|
||||
log.Infof("ServeDNS: opcode=%d (UPDATE=5) qcount=%d", r.Opcode, len(r.Question))
|
||||
if r.Opcode == dns.OpcodeUpdate {
|
||||
if err := p.checkTSIG(w, r); err != nil {
|
||||
log.Warningf("UPDATE rejected: %v", err)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue