// WriteReplyMsg writes the dns reply
WriteReplyMsg writes the dns reply
// WriteReplyMsg writes the dns reply
func (h *DNSHandler) WriteReplyMsg(w dns.ResponseWriter, message *dns.Msg) {
	defer func() {
		if r := recover(); r != nil {
			logger.Noticef("Recovered in WriteReplyMsg: %s\n", r)
		}
	}()
	err := w.WriteMsg(message)
	if err != nil {
		logger.Error(err)
	}
}
func ( h * DNSHandler ) WriteReplyMsg ( w dns . ResponseWriter , message * dns . Msg ) { defer func ( ) { if r := recover ( ) ; r != nil { logger . Noticef ( " \n " , r ) } } ( ) err := w . WriteMsg ( message ) if err != nil { logger . Error ( err ) } }
WriteReplyMsg writes the dns reply
WriteReplyMsg writes the dns reply