mirror of
https://github.com/netbirdio/netbird.git
synced 2026-07-31 09:58:38 -04:00
Note that a nil upstream reply was already logged and answered
This commit is contained in:
@@ -311,6 +311,7 @@ func (d *DnsInterceptor) ServeDNS(w dns.ResponseWriter, r *dns.Msg) {
|
||||
|
||||
reply := d.queryUpstreamDNS(ctx, w, query, upstream, upstreamIP, peerKey, logger)
|
||||
if reply == nil {
|
||||
// queryUpstreamDNS already logged the failure and answered the client
|
||||
return
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user