Delink availability set from dns settings
Delink setting dns entries from the availability set (changes all dns entries for all members of the availability set in ARM and ?restarts the servers).
Availability set is a high availability feature
DNS is a networking feature.
They shouldn't be in the same