NS record is not working

Yes, this is not possible for you to configure like that.

To enable you to change nameservers, we have to transfer the domain to your control at name.com as described in this article: [Support Guide] How do I transfer my domain name to (or away from) Netlify?