North Dakota birth registration law says that
If the mother of the child was not married at the time of conception
or birth, the child's surname shall be shown on the record as the
legal surname of the mother at the time of the birth unless otherwise
determined in a court paternity action, or unless an acknowledgment of
paternity signed by both parents is ...