Baby last name

If you and your SO wasn’t married, y’all was just either dating or maybe just friends w/ benefits. Should the child take on the father’s last name if it’s not brought up? Or maybe the father did bring it up, would it still be inappropriate?