diff --git a/server.go b/server.go index 18f4d4d..541187d 100644 --- a/server.go +++ b/server.go @@ -4,7 +4,6 @@ import ( "fmt" "log" "net" - "strings" "sync" "github.com/miekg/dns" @@ -222,14 +221,6 @@ func (s *Server) handleQuery(query *dns.Msg, from net.Addr) error { } } - if len(multicastAnswer) == 0 && len(unicastAnswer) == 0 { - questions := make([]string, len(query.Question)) - for i, q := range query.Question { - questions[i] = q.Name - } - log.Printf("no responses for query with questions: %s", strings.Join(questions, ", ")) - } - if mresp := resp(false); mresp != nil { if err := s.sendResponse(mresp, from, false); err != nil { return fmt.Errorf("mdns: error sending multicast response: %v", err)