func handleNotifyOut(addr string) { if Zone.name == "" || !Zone.correct { return } d := new(dns.Conn) d.RemoteAddr = addr m := new(dns.Msg) m.SetNotify(Zone.name) fmt.Printf("Sending notifies: zone is ok\n") dns.QueryRequest <- &dns.Query{Conn: d, Query: m} }