Can't update OS on PiHole - cannot resolve any hostnames

If you had been using Pi-hole with unbound before, and your initial observation would have been for a first upgrade to or under Bullseye, you may have been affected by a DNS loop created between your upstream unbound and Pi-hole. For a complete background, see WARNING: Raspbian October 2021 release bullseye + unbound .