I get this error: The ipa-dns-install command failed, exception: ObjectclassViolation: missing attribute « idnsSOAserial » required by object class « idnsZone »

When trying to ipa-dns-install on my replica.

The solution is to add in the hostname in the @ record of your zone and reverse zone.

After that ipa-dns-install runs perfectly.