You may have noticed a setting on Android called Private DNS. It's on by default, and you're best off leaving it that way.
Every Android phone running Android 16 and above now has a built-in security feature that protects your device and accounts.