Please follow the below template, it will help us to help you!
Should still be able to access internet after pihole installation on ubuntu.
Lost internet access (DNS problems) after installing pihole.
I installed pihole by cloning from git and running the basic-install script. After following the prompts, the install finished, and immediately I had no internet access on my ubuntu box. After rebooting, I still had no internet access. So I ran the uninstall script. I still had no internet access. I rebooted again. Still no access.
I manually edited /etc/resolv.conf (which read 127.0.0.1) to 22.214.171.124, and access was restored. I tried running the install script again. This time, the install finished, and I still had internet access.
I navigated to /admin, and the dashboard says "DNS service not running (red circle) .