Problem connecting to the internet with Anonsurf

Hi guys.
My Parrot OS is Parrot Home 4.9.1.
When connecting to the internet without Anonsurf,Firefox and TOR Browser work.
But connecting to the internet with Anonsurf,Firefox says “Server Not Found”
and TOR browser says “Tor failed to establish a Tor network connection”.
I tried to ping a site it says “Temporary failure in name resolution”.

So I stopped Anonsurf, and reboot it. but the problem isn’t solved.

How to fix it ?

@dmknght might help you

Check your resolv.conf

It show’s localhost address as
name server