FIELD: agriculture.SUBSTANCE: group of inventions relates to agriculture, in particular to feeding troughs for domestic animals. Retaining device for dispensing a food body to domestic animals comprises an elongate main body. Body for holding a segment of the food body has an elongate cavity with a longitudinal axis and a fastening apparatus for fastening the segment of the food body in the cavity. Retaining device comprises a fastening element of the fastening apparatus, which extends transversely to the longitudinal axis of the cavity. Fastening apparatus can penetrate the segment of the food body and a detachable positive-locking connection between the fastening element and the food body can be established. Fastening apparatus has an actuating element, which, in a fastening position of the fastening apparatus, lies in a hole located on the surface of the main body. Food body for domestic animals for the retaining device is provided with through holes extending perpendicularly to the longitudinal axis of th