We present compact distributed interactive proofs for the recognition of two important graph classes, well-studied in the context of centralized algorithms, namely complement reducible graphs and distance-hereditary graphs. Complement reducible graphs (also called cographs) are defined as the graphs not containing a four-node path P4 as an induced subgraph. Distance-hereditary graphs are a super-class of cographs, defined as the graphs where the distance (shortest paths) between any pair of vertices is the same on every induced connected subgraph.First, we show that there exists a distributed interactive proof for the recognition of cographs with two rounds of interaction. More precisely, we give a dAM protocol with a proof size of O(log n) bits that uses shared randomness and recognizes cographs with high probability. Moreover, our protocol can be adapted to verify any Turing-decidable predicate restricted to cographs in dAM with certificates of size O(log n).Second, we give a three-round, dMAM interactive protocol for the recognition of distancehereditary graphs, still with a proof size of O(log n) bits and also using shared randomness.Finally, we show that any one-round (denoted dM) or two-round, dMA protocol for the recognition of cographs or distance-hereditary graphs requires certificates of size Ω(log n) bits. Moreover, we show that any constant-round dAM protocol using shared randomness requires certificates of size Ω(log log n).