Fixing DNS Resolution After Disabling systemd-resolved for Pi-hole
However, after doing this, I ran into a strange issue: some Python programs (specifically those using dnspython) could no longer resolve domain names. Here’s how I diagnosed and fixed the problem. Originally Posted on Ashraful’s Blog π The Problem To route DNS through Pi-hole, I disabled systemd-resolved: sudo systemctl disable –now systemd-resolved My home server…