Kindly refer to the following link(s):
Does the child born out of wedlock get named after the mother or the father?
Are the biological parents of an illegitimate children mahram for them, what about siblings?
Who is the Guardian / Wali of a girl born out of wedlock?