Asking people their ‘good name’ is bad for your English 🙂
‘Good name’ is a direct translation from corresponding Hindi question – aapka shubh naam kya hai?. It is used as a polite way to ask some one’s name.
In English, the right way to politely ask someone’s name would be – “What’s your name, please”. ‘Good name’ is not required, is a non standard usage, in short, wrong.
Use ‘please’ at the end of the sentence if you want to ask someone’s name politely.