Prusa-Link-Web icon indicating copy to clipboard operation
Prusa-Link-Web copied to clipboard

Prusa SLS1S 1.7.1 Prusa Link floods DNS server when printer turns off

Open Area5142 opened this issue 2 years ago • 1 comments

I am experiencing an issue with my Pi-hole DNS server and DHCP server, which assigns names to devices on my local network. When I use the network name instead of the IP address to access the Prusa Link page, it causes my local DNS server to be flooded whenever the printer powers off. This can be seen in the attached image (between 20:15 and 01:30) as high green bars.

PiHole DNS Flooded by Prusa Link

Prusa Link SL1S Off

As long as the printer is off, the Prusa Link open tab in my browser (Firefox) continues to look up the DNS for the printer approximately 50k/h. If I close the tab, it stops flooding the Pi-hole server.

The excessive DNS lookups by the Prusa Link script are causing the Pi-hole server's safeguard to activate and lock out the flooding IP (workstation) from further DNS queries. This is very annoying as it means I am locked out of the internet until I reset the Pi-hole server.

It seems that the Prusa Link script is looking up the DNS more than once, when it should be possible to use the obtained IP address after just one DNS query. I would like to request a fix for this issue.

Area5142 avatar Dec 20 '22 04:12 Area5142

Thanks for reporting. Our developers will look into this.

Michele Moramarco Prusa Research

Prusa-Support avatar Jan 18 '23 16:01 Prusa-Support