You can switch DNS providers if you're able to edit the domain's nameservers.
You can also separate your DNS provider from your registrar, so that you can switch DNS providers if your registrar is still online.