In any action brought to determine adverse claims, the county may join as parties defendant as many persons who have estate or interest in, or liens or encumbrances upon any real property appearing of record, as the state's attorney shall deem necessary, regardless of the nonexistence of a common interest in and to all of the real property involved in such action, and all other persons unknown whose estates or interests do not appear of record may be proceeded against and joined as parties defendant by adding to the title the following recital:
All other persons unknown claiming any estate or interest in, or lien or encumbrance upon, the property described in the complaint.
N.D.C.C. § 57-30-03