code: func (d *DNSProvider) lookupParentZoneID(viewID uint, fqdn string) (uint, string, error) {
  	parentViewID := viewID
  	name := ""
  
  	if fqdn != "" {
  		zones := strings.Split(strings.Trim(fqdn, "."), ".")
  		last := len(zones) - 1
  		name = zones[0]
  
  		for i := last; i > -1; i-- {
  			zoneID, err := d.getZone(parentViewID, zones[i])
  			if err != nil || zoneID == 0 {
  				return parentViewID, name, err
  			}
  			if i > 0 {
  				name = strings.Join(zones[0:i], ".")
  			}
  			parentViewID = zoneID
  		}
  	}
  
  	return parentViewID, name, nil
  }
docs: // Return the entityId of the parent zone by recursing from the root view
  // Also return the simple name of the host