Some tokens only worked in upper case, fixing that.

As we discussed in #108, this is your patch with some more tests around it. I also found that bind supports $ORIGIN and $TTL in mixcase too and added fix for that.
That sounds like a sane thing to add to this pr!
On 28 Aug 2014 18:27, "Alex Sergeyev" <notifications@github.com> wrote:

> In zscan_rr.go:
>
> > @@ -1145,8 +1145,8 @@ func setRRSIG(h RR_Header, c chan lex, o, f string) (RR, *ParseError, string) {
> >  	rr := new(RRSIG)
> >  	rr.Hdr = h
> >  	l := <-c
> > -	if t, ok := StringToType[strings.ToUpper(l.token)]; !ok {
> > -		if strings.HasPrefix(strings.ToUpper(l.token), "TYPE") {
> > +	if t, ok := StringToType[l.tokenUpper]; !ok {
>
> https://gist.github.com/asergeyev/16db89fc6af9654422be
>
> —
> Reply to this email directly or view it on GitHub
> <https://github.com/miekg/dns/pull/109/files#r16854364>.
>