Excessive network activity (DNS requests)

Describe the bug
Anytytpe is sending thousands of dns requests per minute.

To Reproduce
Open anytype and monitor the network traffic.

Expected behavior
To be a bit more moderate with my network ressources.

System Information:

  • OS: Manjaro/Linux
  • Anytype Version: 0.2.19

Additional context
I experienced network problems and when i started to dig a bit I noticed that anytype is sending out a ton of dns requests (~1000 per minute). This is only on the desktop version, when i start the anytype app on android everything seems fine.
This is a snippet from a log file showing only a single second of activity.

Nov 29 07:54:51 dnsmasq[2891]: query[A] bootstrap1.anytype.io from 192.168.1.1
Nov 29 07:54:51 dnsmasq[2891]: query[AAAA] bootstrap1.anytype.io from 192.168.1.1
Nov 29 07:54:51 dnsmasq[2891]: query[A] bootstrap2.anytype.io from 192.168.1.1
Nov 29 07:54:51 dnsmasq[2891]: query[AAAA] bootstrap2.anytype.io from 192.168.1.1
Nov 29 07:54:51 dnsmasq[2891]: query[A] bootstrap1.anytype.io from 192.168.1.1
Nov 29 07:54:51 dnsmasq[2891]: query[AAAA] bootstrap1.anytype.io from 192.168.1.1
Nov 29 07:54:51 dnsmasq[2891]: query[A] bootstrap2.anytype.io from 192.168.1.1
Nov 29 07:54:51 dnsmasq[2891]: query[AAAA] bootstrap2.anytype.io from 192.168.1.1
Nov 29 07:54:51 dnsmasq[2891]: query[A] bootstrap2.anytype.io from 192.168.1.1
Nov 29 07:54:51 dnsmasq[2891]: query[AAAA] bootstrap2.anytype.io from 192.168.1.1
Nov 29 07:54:51 dnsmasq[2891]: query[A] bootstrap1.anytype.io from 192.168.1.1
Nov 29 07:54:51 dnsmasq[2891]: query[AAAA] bootstrap1.anytype.io from 192.168.1.1
Nov 29 07:54:51 dnsmasq[2891]: query[A] bootstrap2.anytype.io from 192.168.1.1
Nov 29 07:54:51 dnsmasq[2891]: query[AAAA] bootstrap2.anytype.io from 192.168.1.1
Nov 29 07:54:51 dnsmasq[2891]: query[A] bootstrap1.anytype.io from 192.168.1.1
Nov 29 07:54:51 dnsmasq[2891]: query[AAAA] bootstrap1.anytype.io from 192.168.1.1
Nov 29 07:54:51 dnsmasq[2891]: query[A] bootstrap1.anytype.io from 192.168.1.1
Nov 29 07:54:51 dnsmasq[2891]: query[AAAA] bootstrap1.anytype.io from 192.168.1.1
Nov 29 07:54:51 dnsmasq[2891]: query[A] bootstrap2.anytype.io from 192.168.1.1
Nov 29 07:54:51 dnsmasq[2891]: query[AAAA] bootstrap2.anytype.io from 192.168.1.1
Nov 29 07:54:51 dnsmasq[2891]: query[A] bootstrap1.anytype.io from 192.168.1.1
Nov 29 07:54:51 dnsmasq[2891]: query[AAAA] bootstrap1.anytype.io from 192.168.1.1
Nov 29 07:54:51 dnsmasq[2891]: query[A] bootstrap2.anytype.io from 192.168.1.1
Nov 29 07:54:51 dnsmasq[2891]: query[AAAA] bootstrap2.anytype.io from 192.168.1.1
Nov 29 07:54:51 dnsmasq[2891]: query[A] bootstrap1.anytype.io from 192.168.1.1
Nov 29 07:54:51 dnsmasq[2891]: query[AAAA] bootstrap1.anytype.io from 192.168.1.1
Nov 29 07:54:51 dnsmasq[2891]: query[A] bootstrap2.anytype.io from 192.168.1.1
Nov 29 07:54:51 dnsmasq[2891]: query[AAAA] bootstrap2.anytype.io from 192.168.1.1
Nov 29 07:54:51 dnsmasq[2891]: query[A] bootstrap1.anytype.io from 192.168.1.1
Nov 29 07:54:51 dnsmasq[2891]: query[AAAA] bootstrap1.anytype.io from 192.168.1.1
Nov 29 07:54:51 dnsmasq[2891]: query[A] bootstrap2.anytype.io from 192.168.1.1
Nov 29 07:54:51 dnsmasq[2891]: query[AAAA] bootstrap2.anytype.io from 192.168.1.1
Nov 29 07:54:51 dnsmasq[2891]: query[A] bootstrap2.anytype.io from 192.168.1.1
Nov 29 07:54:51 dnsmasq[2891]: query[AAAA] bootstrap2.anytype.io from 192.168.1.1
Nov 29 07:54:51 dnsmasq[2891]: query[A] bootstrap1.anytype.io from 192.168.1.1
Nov 29 07:54:51 dnsmasq[2891]: query[AAAA] bootstrap1.anytype.io from 192.168.1.1
Nov 29 07:54:51 dnsmasq[2891]: query[A] bootstrap2.anytype.io from 192.168.1.1
Nov 29 07:54:51 dnsmasq[2891]: query[AAAA] bootstrap2.anytype.io from 192.168.1.1
Nov 29 07:54:51 dnsmasq[2891]: query[A] bootstrap1.anytype.io from 192.168.1.1
Nov 29 07:54:51 dnsmasq[2891]: query[AAAA] bootstrap1.anytype.io from 192.168.1.1
Nov 29 07:54:51 dnsmasq[2891]: query[A] bootstrap1.anytype.io from 192.168.1.1
Nov 29 07:54:51 dnsmasq[2891]: query[AAAA] bootstrap1.anytype.io from 192.168.1.1
Nov 29 07:54:51 dnsmasq[2891]: query[A] bootstrap2.anytype.io from 192.168.1.1
Nov 29 07:54:51 dnsmasq[2891]: query[AAAA] bootstrap2.anytype.io from 192.168.1.1
Nov 29 07:54:51 dnsmasq[2891]: query[A] bootstrap1.anytype.io from 192.168.1.1
Nov 29 07:54:51 dnsmasq[2891]: query[AAAA] bootstrap1.anytype.io from 192.168.1.1
Nov 29 07:54:51 dnsmasq[2891]: query[A] bootstrap2.anytype.io from 192.168.1.1
Nov 29 07:54:51 dnsmasq[2891]: query[AAAA] bootstrap2.anytype.io from 192.168.1.1
Nov 29 07:54:51 dnsmasq[2891]: query[A] bootstrap1.anytype.io from 192.168.1.1
Nov 29 07:54:51 dnsmasq[2891]: query[AAAA] bootstrap1.anytype.io from 192.168.1.1
Nov 29 07:54:51 dnsmasq[2891]: query[A] bootstrap2.anytype.io from 192.168.1.1
Nov 29 07:54:51 dnsmasq[2891]: query[AAAA] bootstrap2.anytype.io from 192.168.1.1
Nov 29 07:54:51 dnsmasq[2891]: query[A] bootstrap1.anytype.io from 192.168.1.1
Nov 29 07:54:51 dnsmasq[2891]: query[AAAA] bootstrap1.anytype.io from 192.168.1.1
Nov 29 07:54:51 dnsmasq[2891]: query[A] bootstrap2.anytype.io from 192.168.1.1
Nov 29 07:54:51 dnsmasq[2891]: query[AAAA] bootstrap2.anytype.io from 192.168.1.1
Nov 29 07:54:51 dnsmasq[2891]: query[A] bootstrap1.anytype.io from 192.168.1.1
Nov 29 07:54:51 dnsmasq[2891]: query[AAAA] bootstrap1.anytype.io from 192.168.1.1
Nov 29 07:54:51 dnsmasq[2891]: query[A] bootstrap2.anytype.io from 192.168.1.1
Nov 29 07:54:51 dnsmasq[2891]: query[AAAA] bootstrap2.anytype.io from 192.168.1.1
Nov 29 07:54:51 dnsmasq[2891]: query[A] bootstrap1.anytype.io from 192.168.1.1
Nov 29 07:54:51 dnsmasq[2891]: query[AAAA] bootstrap1.anytype.io from 192.168.1.1
Nov 29 07:54:51 dnsmasq[2891]: query[A] bootstrap2.anytype.io from 192.168.1.1
Nov 29 07:54:51 dnsmasq[2891]: query[AAAA] bootstrap2.anytype.io from 192.168.1.1
Nov 29 07:54:51 dnsmasq[2891]: query[A] bootstrap2.anytype.io from 192.168.1.1
Nov 29 07:54:51 dnsmasq[2891]: query[AAAA] bootstrap2.anytype.io from 192.168.1.1
Nov 29 07:54:51 dnsmasq[2891]: query[A] bootstrap1.anytype.io from 192.168.1.1
Nov 29 07:54:51 dnsmasq[2891]: query[AAAA] bootstrap1.anytype.io from 192.168.1.1
Nov 29 07:54:51 dnsmasq[2891]: query[A] bootstrap2.anytype.io from 192.168.1.1
Nov 29 07:54:51 dnsmasq[2891]: query[AAAA] bootstrap2.anytype.io from 192.168.1.1
Nov 29 07:54:51 dnsmasq[2891]: query[A] bootstrap1.anytype.io from 192.168.1.1
Nov 29 07:54:51 dnsmasq[2891]: query[AAAA] bootstrap1.anytype.io from 192.168.1.1
Nov 29 07:54:51 dnsmasq[2891]: query[A] bootstrap2.anytype.io from 192.168.1.1
Nov 29 07:54:51 dnsmasq[2891]: query[AAAA] bootstrap2.anytype.io from 192.168.1.1
Nov 29 07:54:51 dnsmasq[2891]: query[A] bootstrap1.anytype.io from 192.168.1.1
Nov 29 07:54:51 dnsmasq[2891]: query[AAAA] bootstrap1.anytype.io from 192.168.1.1
Nov 29 07:54:51 dnsmasq[2891]: query[A] bootstrap2.anytype.io from 192.168.1.1
Nov 29 07:54:51 dnsmasq[2891]: query[AAAA] bootstrap2.anytype.io from 192.168.1.1
Nov 29 07:54:51 dnsmasq[2891]: query[A] bootstrap1.anytype.io from 192.168.1.1
Nov 29 07:54:51 dnsmasq[2891]: query[AAAA] bootstrap1.anytype.io from 192.168.1.1
Nov 29 07:54:51 dnsmasq[2891]: query[A] bootstrap1.anytype.io from 192.168.1.1
Nov 29 07:54:51 dnsmasq[2891]: query[AAAA] bootstrap1.anytype.io from 192.168.1.1
Nov 29 07:54:51 dnsmasq[2891]: query[A] bootstrap2.anytype.io from 192.168.1.1
Nov 29 07:54:51 dnsmasq[2891]: query[AAAA] bootstrap2.anytype.io from 192.168.1.1
Nov 29 07:54:51 dnsmasq[2891]: query[A] bootstrap1.anytype.io from 192.168.1.1
Nov 29 07:54:51 dnsmasq[2891]: query[AAAA] bootstrap1.anytype.io from 192.168.1.1
Nov 29 07:54:51 dnsmasq[2891]: query[A] bootstrap2.anytype.io from 192.168.1.1
Nov 29 07:54:51 dnsmasq[2891]: query[AAAA] bootstrap2.anytype.io from 192.168.1.1
Nov 29 07:54:51 dnsmasq[2891]: query[A] bootstrap2.anytype.io from 192.168.1.1
Nov 29 07:54:51 dnsmasq[2891]: query[AAAA] bootstrap2.anytype.io from 192.168.1.1
Nov 29 07:54:51 dnsmasq[2891]: query[A] bootstrap1.anytype.io from 192.168.1.1
Nov 29 07:54:51 dnsmasq[2891]: query[AAAA] bootstrap1.anytype.io from 192.168.1.1
Nov 29 07:54:51 dnsmasq[2891]: query[A] bootstrap2.anytype.io from 192.168.1.1
Nov 29 07:54:51 dnsmasq[2891]: query[AAAA] bootstrap2.anytype.io from 192.168.1.1
Nov 29 07:54:51 dnsmasq[2891]: query[A] bootstrap1.anytype.io from 192.168.1.1
Nov 29 07:54:51 dnsmasq[2891]: query[AAAA] bootstrap1.anytype.io from 192.168.1.1
Nov 29 07:54:51 dnsmasq[2891]: query[A] bootstrap2.anytype.io from 192.168.1.1
Nov 29 07:54:51 dnsmasq[2891]: query[AAAA] bootstrap2.anytype.io from 192.168.1.1
Nov 29 07:54:51 dnsmasq[2891]: query[A] bootstrap1.anytype.io from 192.168.1.1
Nov 29 07:54:51 dnsmasq[2891]: query[AAAA] bootstrap1.anytype.io from 192.168.1.1
Nov 29 07:54:51 dnsmasq[2891]: query[A] bootstrap1.anytype.io from 192.168.1.1
Nov 29 07:54:51 dnsmasq[2891]: query[A] bootstrap2.anytype.io from 192.168.1.1
Nov 29 07:54:51 dnsmasq[2891]: query[AAAA] bootstrap1.anytype.io from 192.168.1.1
Nov 29 07:54:51 dnsmasq[2891]: query[AAAA] bootstrap2.anytype.io from 192.168.1.1
Nov 29 07:54:51 dnsmasq[2891]: query[A] bootstrap1.anytype.io from 192.168.1.1
Nov 29 07:54:51 dnsmasq[2891]: query[AAAA] bootstrap1.anytype.io from 192.168.1.1
Nov 29 07:54:51 dnsmasq[2891]: query[A] bootstrap2.anytype.io from 192.168.1.1
Nov 29 07:54:51 dnsmasq[2891]: query[AAAA] bootstrap2.anytype.io from 192.168.1.1
Nov 29 07:54:51 dnsmasq[2891]: query[A] bootstrap1.anytype.io from 192.168.1.1
Nov 29 07:54:51 dnsmasq[2891]: query[AAAA] bootstrap1.anytype.io from 192.168.1.1
Nov 29 07:54:51 dnsmasq[2891]: query[A] bootstrap2.anytype.io from 192.168.1.1
Nov 29 07:54:51 dnsmasq[2891]: query[AAAA] bootstrap2.anytype.io from 192.168.1.1
Nov 29 07:54:51 dnsmasq[2891]: query[A] bootstrap2.anytype.io from 192.168.1.1
Nov 29 07:54:51 dnsmasq[2891]: query[AAAA] bootstrap2.anytype.io from 192.168.1.1
Nov 29 07:54:51 dnsmasq[2891]: query[A] bootstrap1.anytype.io from 192.168.1.1
Nov 29 07:54:51 dnsmasq[2891]: query[AAAA] bootstrap1.anytype.io from 192.168.1.1
Nov 29 07:54:51 dnsmasq[2891]: query[A] bootstrap2.anytype.io from 192.168.1.1
Nov 29 07:54:51 dnsmasq[2891]: query[AAAA] bootstrap2.anytype.io from 192.168.1.1
Nov 29 07:54:51 dnsmasq[2891]: query[A] bootstrap1.anytype.io from 192.168.1.1
Nov 29 07:54:51 dnsmasq[2891]: query[AAAA] bootstrap1.anytype.io from 192.168.1.1
Nov 29 07:54:51 dnsmasq[2891]: query[A] bootstrap2.anytype.io from 192.168.1.1
Nov 29 07:54:51 dnsmasq[2891]: query[A] bootstrap1.anytype.io from 192.168.1.1
Nov 29 07:54:51 dnsmasq[2891]: query[AAAA] bootstrap1.anytype.io from 192.168.1.1
Nov 29 07:54:51 dnsmasq[2891]: query[AAAA] bootstrap2.anytype.io from 192.168.1.1
Nov 29 07:54:51 dnsmasq[2891]: query[A] bootstrap1.anytype.io from 192.168.1.1
Nov 29 07:54:51 dnsmasq[2891]: query[AAAA] bootstrap1.anytype.io from 192.168.1.1
Nov 29 07:54:51 dnsmasq[2891]: query[A] bootstrap2.anytype.io from 192.168.1.1
Nov 29 07:54:51 dnsmasq[2891]: query[AAAA] bootstrap2.anytype.io from 192.168.1.1
Nov 29 07:54:51 dnsmasq[2891]: query[A] bootstrap2.anytype.io from 192.168.1.1
Nov 29 07:54:51 dnsmasq[2891]: query[AAAA] bootstrap2.anytype.io from 192.168.1.1
Nov 29 07:54:51 dnsmasq[2891]: query[A] bootstrap1.anytype.io from 192.168.1.1
Nov 29 07:54:51 dnsmasq[2891]: query[AAAA] bootstrap1.anytype.io from 192.168.1.1
Nov 29 07:54:51 dnsmasq[2891]: query[A] bootstrap1.anytype.io from 192.168.1.1
Nov 29 07:54:51 dnsmasq[2891]: query[A] bootstrap2.anytype.io from 192.168.1.1
Nov 29 07:54:51 dnsmasq[2891]: query[AAAA] bootstrap1.anytype.io from 192.168.1.1
Nov 29 07:54:51 dnsmasq[2891]: query[AAAA] bootstrap2.anytype.io from 192.168.1.1
Nov 29 07:54:51 dnsmasq[2891]: query[A] bootstrap2.anytype.io from 192.168.1.1
Nov 29 07:54:51 dnsmasq[2891]: query[AAAA] bootstrap2.anytype.io from 192.168.1.1
Nov 29 07:54:51 dnsmasq[2891]: query[A] bootstrap1.anytype.io from 192.168.1.1
Nov 29 07:54:51 dnsmasq[2891]: query[AAAA] bootstrap1.anytype.io from 192.168.1.1
Nov 29 07:54:51 dnsmasq[2891]: query[A] bootstrap2.anytype.io from 192.168.1.1
Nov 29 07:54:51 dnsmasq[2891]: query[AAAA] bootstrap2.anytype.io from 192.168.1.1
Nov 29 07:54:51 dnsmasq[2891]: query[A] bootstrap1.anytype.io from 192.168.1.1
Nov 29 07:54:51 dnsmasq[2891]: query[AAAA] bootstrap1.anytype.io from 192.168.1.1
Nov 29 07:54:51 dnsmasq[2891]: query[A] bootstrap2.anytype.io from 192.168.1.1
Nov 29 07:54:51 dnsmasq[2891]: query[AAAA] bootstrap2.anytype.io from 192.168.1.1
Nov 29 07:54:51 dnsmasq[2891]: query[A] bootstrap1.anytype.io from 192.168.1.1
Nov 29 07:54:51 dnsmasq[2891]: query[AAAA] bootstrap1.anytype.io from 192.168.1.1
Nov 29 07:54:51 dnsmasq[2891]: query[A] bootstrap2.anytype.io from 192.168.1.1
Nov 29 07:54:51 dnsmasq[2891]: query[AAAA] bootstrap2.anytype.io from 192.168.1.1
Nov 29 07:54:51 dnsmasq[2891]: query[A] bootstrap1.anytype.io from 192.168.1.1
Nov 29 07:54:51 dnsmasq[2891]: query[AAAA] bootstrap1.anytype.io from 192.168.1.1
Nov 29 07:54:51 dnsmasq[2891]: query[A] bootstrap2.anytype.io from 192.168.1.1
Nov 29 07:54:51 dnsmasq[2891]: query[AAAA] bootstrap2.anytype.io from 192.168.1.1
Nov 29 07:54:51 dnsmasq[2891]: query[A] bootstrap1.anytype.io from 192.168.1.1
Nov 29 07:54:51 dnsmasq[2891]: query[AAAA] bootstrap1.anytype.io from 192.168.1.1
Nov 29 07:54:51 dnsmasq[2891]: query[A] bootstrap2.anytype.io from 192.168.1.1
Nov 29 07:54:51 dnsmasq[2891]: query[AAAA] bootstrap2.anytype.io from 192.168.1.1
Nov 29 07:54:51 dnsmasq[2891]: query[A] bootstrap1.anytype.io from 192.168.1.1
Nov 29 07:54:51 dnsmasq[2891]: query[AAAA] bootstrap1.anytype.io from 192.168.1.1
Nov 29 07:54:51 dnsmasq[2891]: query[A] bootstrap2.anytype.io from 192.168.1.1
Nov 29 07:54:51 dnsmasq[2891]: query[AAAA] bootstrap2.anytype.io from 192.168.1.1
Nov 29 07:54:51 dnsmasq[2891]: query[A] bootstrap1.anytype.io from 192.168.1.1
Nov 29 07:54:51 dnsmasq[2891]: query[AAAA] bootstrap1.anytype.io from 192.168.1.1
Nov 29 07:54:51 dnsmasq[2891]: query[A] bootstrap2.anytype.io from 192.168.1.1
Nov 29 07:54:51 dnsmasq[2891]: query[AAAA] bootstrap2.anytype.io from 192.168.1.1
Nov 29 07:54:51 dnsmasq[2891]: query[A] bootstrap1.anytype.io from 192.168.1.1
Nov 29 07:54:51 dnsmasq[2891]: query[AAAA] bootstrap1.anytype.io from 192.168.1.1
Nov 29 07:54:51 dnsmasq[2891]: query[A] bootstrap1.anytype.io from 192.168.1.1
Nov 29 07:54:51 dnsmasq[2891]: query[AAAA] bootstrap1.anytype.io from 192.168.1.1
Nov 29 07:54:51 dnsmasq[2891]: query[A] bootstrap2.anytype.io from 192.168.1.1
Nov 29 07:54:51 dnsmasq[2891]: query[AAAA] bootstrap2.anytype.io from 192.168.1.1
Nov 29 07:54:51 dnsmasq[2891]: query[A] bootstrap1.anytype.io from 192.168.1.1
Nov 29 07:54:51 dnsmasq[2891]: query[AAAA] bootstrap1.anytype.io from 192.168.1.1
Nov 29 07:54:51 dnsmasq[2891]: query[A] bootstrap2.anytype.io from 192.168.1.1
Nov 29 07:54:51 dnsmasq[2891]: query[AAAA] bootstrap2.anytype.io from 192.168.1.1
Nov 29 07:54:51 dnsmasq[2891]: query[A] bootstrap1.anytype.io from 192.168.1.1
Nov 29 07:54:51 dnsmasq[2891]: query[AAAA] bootstrap1.anytype.io from 192.168.1.1
Nov 29 07:54:51 dnsmasq[2891]: query[A] bootstrap2.anytype.io from 192.168.1.1
Nov 29 07:54:51 dnsmasq[2891]: query[AAAA] bootstrap2.anytype.io from 192.168.1.1
Nov 29 07:54:51 dnsmasq[2891]: query[A] bootstrap1.anytype.io from 192.168.1.1
Nov 29 07:54:51 dnsmasq[2891]: query[AAAA] bootstrap1.anytype.io from 192.168.1.1
Nov 29 07:54:51 dnsmasq[2891]: query[A] bootstrap2.anytype.io from 192.168.1.1
Nov 29 07:54:51 dnsmasq[2891]: query[AAAA] bootstrap2.anytype.io from 192.168.1.1
Nov 29 07:54:51 dnsmasq[2891]: query[A] bootstrap2.anytype.io from 192.168.1.1
Nov 29 07:54:51 dnsmasq[2891]: query[AAAA] bootstrap2.anytype.io from 192.168.1.1
Nov 29 07:54:51 dnsmasq[2891]: query[A] bootstrap1.anytype.io from 192.168.1.1
Nov 29 07:54:51 dnsmasq[2891]: query[AAAA] bootstrap1.anytype.io from 192.168.1.1
Nov 29 07:54:51 dnsmasq[2891]: query[A] bootstrap2.anytype.io from 192.168.1.1
Nov 29 07:54:51 dnsmasq[2891]: query[AAAA] bootstrap2.anytype.io from 192.168.1.1
Nov 29 07:54:51 dnsmasq[2891]: query[A] bootstrap1.anytype.io from 192.168.1.1
Nov 29 07:54:51 dnsmasq[2891]: query[AAAA] bootstrap1.anytype.io from 192.168.1.1
Nov 29 07:54:51 dnsmasq[2891]: query[A] bootstrap2.anytype.io from 192.168.1.1
Nov 29 07:54:51 dnsmasq[2891]: query[A] bootstrap1.anytype.io from 192.168.1.1
Nov 29 07:54:51 dnsmasq[2891]: query[AAAA] bootstrap2.anytype.io from 192.168.1.1
Nov 29 07:54:51 dnsmasq[2891]: query[AAAA] bootstrap1.anytype.io from 192.168.1.1
Nov 29 07:54:51 dnsmasq[2891]: query[A] bootstrap2.anytype.io from 192.168.1.1
Nov 29 07:54:51 dnsmasq[2891]: query[AAAA] bootstrap2.anytype.io from 192.168.1.1
Nov 29 07:54:51 dnsmasq[2891]: query[A] bootstrap1.anytype.io from 192.168.1.1
Nov 29 07:54:51 dnsmasq[2891]: query[AAAA] bootstrap1.anytype.io from 192.168.1.1
Nov 29 07:54:51 dnsmasq[2891]: query[A] bootstrap1.anytype.io from 192.168.1.1
Nov 29 07:54:51 dnsmasq[2891]: query[AAAA] bootstrap1.anytype.io from 192.168.1.1
Nov 29 07:54:51 dnsmasq[2891]: query[A] bootstrap2.anytype.io from 192.168.1.1
Nov 29 07:54:51 dnsmasq[2891]: query[AAAA] bootstrap2.anytype.io from 192.168.1.1
Nov 29 07:54:51 dnsmasq[2891]: query[A] bootstrap2.anytype.io from 192.168.1.1
Nov 29 07:54:51 dnsmasq[2891]: query[AAAA] bootstrap2.anytype.io from 192.168.1.1
Nov 29 07:54:51 dnsmasq[2891]: query[A] bootstrap1.anytype.io from 192.168.1.1
Nov 29 07:54:51 dnsmasq[2891]: query[AAAA] bootstrap1.anytype.io from 192.168.1.1
1 Like

Should be the same as here:

You’re right, that seems to be the same problem. Wonder why I did not find that before?

@_flo Thank you for your notice! It’s known issue, we are working for it

Hey,

i tracked the DNS requests in my network.

60k requests in the last 24 hours.

38k of the requests are to bootstrap1.anytype.io

Would someone elaborate on that?

Is it intended?

It feels to much to be normal behaviour, or am i wrong?

Thanks

11 Likes

Thats the statistic over the requests in the last 24h from the my whole network.

Anytype makes about 90% of all DNS traffic in my network :thinking:

2 Likes

Just a quick update. Last 24 hours.
grafik

1 Like

I see that a lot of those requests are AAAA requests.
Since in this case IPv6 is not configured. This may be a part of the problem?

1 Like

3 months have passed.
In how much time do you want a response?
I’d like to see the AnyType team discussing this publicly.

I will take every answer I can get :sweat_smile:.
But yeah this seems, at least to me, like a bug that shouldn’t be in the app for so long. Because it can cause problems outside of the app.

1 Like

@Flip What i can understand is as Anytype is connected to the sync node it keeps on sending requests to check if there is any change in the contents so that devices can be synced and also the private IPFS keeps searching for p2p devices to connect. nothing to worry about when the sync and network gets optimized this rate will drop.

@div3xi Even with all these requests needed to check for updates in the content, it may not be needed to request the same domain over and over in such a huge amount.
I don’t see the “connecting” to the node as the problem here. More the countless requests to the dns Server, that got me blocked from my local Adguard instance for example. Took a while to find out why my PC’s automatically choose the backup dns Server.
Also, why does Anytype keeps requesting AAAA records. When IPv6 isn’t even configured.
That are the questions/problems I’m interested in.

I will make sure that this question gets a proper technical response and/or investigation from the team after the holidays. Note that Russian Christmas time is early in January, not end of December, so it will probably be a couple of weeks before there is an official response with more tech details than @div3xi was able to provide as some of the team is already on holiday now, and others will be taking a break from 1-7 of January or so.

Happy holidays!

5 Likes

Hi! I indeed reproduced the problem on Linux, basically the problem is that in Ubuntu (don’t know about other distros) by default the entries are not cached, one must install nscd to enable caching - Ubuntu Manpage: nscd — name service caching daemon, sudo apt-get install nscd

Also don’t forget to start the service after installing it (or reboot the system).

1 Like

Are you sure about that?
I’m using dnsmasq and systemd-resolved on different systems and I believe both are caching.

Where is your info from, that ubuntu wouldnt do that by default?
Isnt systemd-resolved the default on ubuntu?

The only thing I can say is that:

  • I checked the code that we are running on both Mac and on Linux, it behaves exactly the same, so I thought what can be different if we are calling same system methods, because there is no problem on mac
  • I installed Ubuntu 20.04.3 and I observed the problem which you mentioned, so I thought maybe the problem is that we don’t cache the DNS results
  • After a bit of googling, I found that there is a tool called nscd which is used exactly for DNS caching and I found out that this tool is not installed in my Linux distro
  • when I installed nscd the problem was resolved, so judging from my own experience this should work

I hope this answers your question

2 Likes

Thank you for taking the time to investigate. Will hopefully help the devs to find the reason.

Do you have IPv6 enabled on your system?

Yes, seems like it is enabled, but I don’t think it matters in this case. In IPFS which is used under the hood, every peer pings its closest peers to check their availability, and it does these queries rather often.

mcrakham is one of the devs, so this is the process of the devs investigating before your eyes. :wink: If he cannot reproduce the issue further, then we’ll need more info to resolve it I think.

Oh :sweat_smile:
Great :+1:
Thank you