code: func toRR(g googleRR) (dns.RR, error) {
  	typ, ok := dns.TypeToString[g.Type]
  	if !ok {
  		return nil, fmt.Errorf("failed to convert type %q", g.Type)
  	}
  
  	str := fmt.Sprintf("%s %d %s %s", g.Name, g.TTL, typ, g.Data)
  	rr, err := dns.NewRR(str)
  	if err != nil {
  		return nil, fmt.Errorf("failed to parse %q: %s", str, err)
  	}
  	return rr, nil
  }
docs: // toRR transforms a "google" RR to a dns.RR.