Hi @Abdelmoudjib_CHIHOUB - Welcome to the community.
Regarding the error you’ve provided, please view the following Can’t connect to MongoDB Atlas - querySrv ENOTFOUND post. There are some suggestions, troubleshooting tools / steps you can try and explanation of possible causes of the error.
Hope this helps.
Regards,
Jason