code: func targetStrip(name string, targetStrip int) string {
  	if targetStrip == 0 {
  		return name
  	}
  
  	offset, end := 0, false
  	for i := 0; i < targetStrip; i++ {
  		offset, end = dns.NextLabel(name, offset)
  	}
  	if end {
  		// We overshot the name, use the orignal one.
  		offset = 0
  	}
  	name = name[offset:]
  	return name
  }
docs: // targetStrip strips "targetstrip" labels from the left side of the fully qualified name.