Hi @Manjunath Bhat ,
Welcome to Microsoft Q&A!
Only removing the existing listener can modify the DNS entry. Maybe you want to use the T-SQL way, I put the relevant link here:
https://learn.microsoft.com/en-us/sql/t-sql/statements/alter-availability-group-transact-sql?redirectedfrom=MSDN&view=sql-server-ver16
Best regards,
Seeya
If the answer is the right solution, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.