AnonSurf not resetting to original

What does “cat /etc/resolv.conf” give you? I think you can type in “anonsurf dns” to turn it on/off.

Hi.

I’ve got an error that the file doesn’t exist. Thats why I copied the backupfile.
Meanwhile I found out that my update of the system caused the problem. A fresh unpatched installation didn’t show the failure.

###ISSUE RESOLVED WITH THIS CMD SET### I started anon-surf and when I stopped the service the resolver stopped working. Entered just the commands in this section of the forum and ISSUE RESOLVED, after trying a-lot of networking tricks and workarounds. I know that this was the only thing that needs to be done bc I had a snapshot that I created the second the problem had occurred. Ran cmd set and fixed.

Happened for me also but I just click SET/UNSET OpenNIC DNS Service, the last tab under Anon Surf and it corrects it.

It can be done with both Desktop Launcher and sudo anonsurf dns command.

P/s: There is a new anonsurf version which is still under development. Please help us check if the bug is still in it so we can complete it asap
nest.parrot.sh/packages/tools/anonsurf
Changelog:

  • Add a GUI. It was written by Nim language and gintro which is a gtk library of Nim lang
  • Set anonsurf as system unit. User now can enable anonsurf on boot. It also fix the issue Lose DNS settings if user forgets to turn anonsurf off before shutdown / reboot
  • Use nyx to show current anonsurf status.

Known issues:

  • There is a small delay after anonsurf turns Tor on. The nyx disappears right after user clicks on status button. When Tor is completely turned on, the nyx works fine.
  • The change ID function doesn’t seem right. We are researching for other way to make the change ID work without restarting tor service.

How to build:

  1. Prepare environment. It needs to run 1 time only
  • Install nim: sudo apt install nim
  • Install gintro: nimble install gintro
  1. Install package
  • Clone the project and run sudo make install
    OR if you know how to use Debian devscript:
  • debuild -us -uc -b to make a new package then use sudo dpkg -i to install it.

Any trouble during install the package will be marked as installation bug
Trouble while running package will be marked as package bug.
And we will fix both.

1 Like

link to the original reply, replied to [ParaX0rmal] by RedRuby
Jessica

Anonsurf or proxychains changes the resolv.conf file config to 127.0.0.1 aka local host to route through tor.

This should do it for you to stop anonsurf :
sudo anonsurf stop

Once done.

Try to add these in your /etc/resolv.conf file as superuser.

sudo pluma /etc/resolv.conf

trying adding the following lines in the text file

nameserver 1.1.1.1
nameserver 1.0.0.1

Thats cloudflares privacy DNS.

Alternatives are

OpenDNS :

nameserver 208.67.222.222 
nameserver 208.67.220.220

GoogleDNS :

nameserver 8.8.8.8
nameserver 8.8.4.4

Comodo Secure DNS (blocks known malicious sites network wide for free, The one which I prefer for regular use)

nameserver 8.26.56.26
nameserver 8.20.247.20

Finally the /etc/resolv.conf file should look something like this :

conf

Once changed the value of the file. save it and exit.

Finally an other user who actually read the solution instead of set the nick name “hacker” and ask the same question which was answered above :relieved: thank you a lot

1 Like