Real definition points to Socratic dialogues: Socrates' search about definitions is not simply about words meaning, but about the essence or real nature of a thing, sought through the method of questioning (the Socratic method) to find universal truths for virtues like justice or piety.
According to Plato's Socrates, the understanding of "real definitions" was crucial for true knowledge. See e.g. Euthyphro, 6d: "you did not give me sufficient information before, when I asked what holiness was, but you told me that this was holy which you are now doing, prosecuting your father for murder. [...] this is not what I asked you, to tell me one or two of the many holy acts, but to tell the essential aspect, by which all holy acts are holy.
True knowledge is not knowing some relevant properties of facts, but grasping "the essential aspect". See Realism.
If you are a Nominalist, there is no essence, and thus definitions must be nominal.
See Real and nominal definitions:
Whether the search for an answer to the Socratic question “What is virtue?” is a search for real definition or one for nominal definition depends upon one’s conception of this particular philosophical activity. When we pursue the Socratic question, are we trying to gain a clearer view of our uses of the word ‘virtue’, or are we trying to give an account of an ideal that is to some extent independent of these uses? Under the former conception, we are aiming at a nominal definition; under the latter, at a real definition.
Dictionary definitions, explaining the meaning of terms through context: their use in speech, are "nominal".
The Logic of definitions can be summarized as a way to abbreviate an already known concept/description (the definiens: the right-hand side of the definition) with a new term (the definiendum: the left-hand side).
When we define one as the successor of zero we have already introduced, in this case by way of axioms, the concept successor and the term zero (the number that is not a successor).
In order to avoid circularity, that we find in a dictionary, we have to start with some basic terms that are undefined and whose elucidation is made through context: the axioms governing them.
Further attempts to define also basic term must either relies on some more fundamental theory: e.g. the set-theoretic foundations of arithmetic, or fails: the (presumably interpolated) Euclid's definitions of point and line.
Regarding Wittgenstein, see e.g. Tractatus (1921):
3.26 A name cannot be dissected any further by means of a
definition: it is a primitive sign. 3.261 Every sign that has a definition signifies via the signs that serve to define it; and the definitions point the way.[...] Names cannot be anatomized by means of
definitions. [...] 3.263 The meanings of primitive signs can be explained by means of elucidations. Elucidations are propositions that
contain the primitive signs.
This view is quite consistent with that expressed by the "second Wittgenastein" into the Philosophical Investigations (1953):
§6 An important part of the training will consist in the teacher's pointing to the objects, directing the child's attention to them, and at the same time uttering a word [...] (I do not want to call this "ostensive definition", because the child cannot as yet ask what the name is. I will call it "ostensive teaching of words".[...])
And §29 [...] how he [the learner] 'takes' the definition is seen in the use that he makes of the word defined.