Is it legal to put your ex-husband's last name on a baby's birth certificate if the child's not his?

its not me its my cousin that did this.
i'm just wondering if its legal.
and no he does not know about what happened.
2 answers 2