This is not a Pi-hole error. Even if DNS was down you would still be able to access via IP address. There is another issue on your network that would be causing this.
This is not a Pi-hole error. Even if DNS was down you would still be able to access via IP address. There is another issue on your network that would be causing this.