func deepEqualMsg(left *dns.Msg, right *dns.Msg) []string {
	temp := *left
	temp.Id = right.Id
	if len(temp.Answer) == 1 && len(right.Answer) == 1 {
		temp.Answer[0].Header().Rdlength = right.Answer[0].Header().Rdlength
	}
	for i := range left.Question {
		left.Question[i].Name = strings.ToLower(left.Question[i].Name)
	}
	for i := range right.Question {
		right.Question[i].Name = strings.ToLower(right.Question[i].Name)
	}
	return deep.Equal(&temp, right)
}
// deepEqual is same as deep.Equal, except:
//  * ignores Id when comparing
//  * ignores Rdlength
//  * question names are not case sensetive
deepEqual is same as deep.Equal, except:
ignores Id when comparing
ignores Rdlength
question names are not case sensetive
// deepEqual is same as deep . Equal except : // * ignores Id when comparing // * ignores Rdlength // * question names are not case sensetive
func deepEqualMsg(left *dns.Msg, right *dns.Msg) []string {
	temp := *left
	temp.Id = right.Id
	if len(temp.Answer) == 1 && len(right.Answer) == 1 {
		temp.Answer[0].Header().Rdlength = right.Answer[0].Header().Rdlength
	}
	for i := range left.Question {
		left.Question[i].Name = strings.ToLower(left.Question[i].Name)
	}
	for i := range right.Question {
		right.Question[i].Name = strings.ToLower(right.Question[i].Name)
	}
	return deep.Equal(&temp, right)
}
func deepEqualMsg ( left * dns . Msg , right * dns . Msg ) [ ] string { temp := * left temp . Id = right . Id if len ( temp . Answer ) == 1 && len ( right . Answer ) == 1 { temp . Answer [ 0 ] . Header ( ) . Rdlength = right . Answer [ 0 ] . Header ( ) . Rdlength } for i := range left . Question { left . Question [ i ] . Name = strings . ToLower ( left . Question [ i ] . Name ) } for i := range right . Question { right . Question [ i ] . Name = strings . ToLower ( right . Question [ i ] . Name ) } return deep . Equal ( & temp , right ) }
deepEqual is same as deep.Equal, except:
ignores Id when comparing
ignores Rdlength
question names are not case sensetive
deepEqual is same as deep . Equal except : ignores Id when comparing ignores Rdlength question names are not case sensetive