N
N
natomist2018-01-29 20:46:50
Domain Name System
natomist, 2018-01-29 20:46:50

What is the reason for SSH DynamicForward and dnsmasq conflict in Ubuntu?

I have added the following lines to ~/.ssh/config

Host sock
  Hostname xxx.xxx.xxx.xxx
  User xxxxx
  Port xxxxx
  DynamicForward 8080

Using the ssh sock command, I connect to the node I need and SOCKS5 works without problems for me.
After some time, sites stop opening in Chrome on my local computer (Not through SOCKS5, through SOCKS5 everything is fine). Other local commands that require the Internet, such as apt, also stop working.
Running the dig and nslookup commands on the local machine hangs for a couple of minutes and displays a time out message.
The problem was solved by disabling dnsmasq. Namely, by commenting out the dns=dnsmasq line in the /etc/NetworkManager/NetworkManager.conf file

Question: Why does dnsmasq conflict with DynamicForward? What commands does it make sense to run to diagnose the cause?

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question