seydx / homebridge-tado-platform

Homebridge plugin for controlling Tado devices
MIT License
126 stars 66 forks source link

Multiple DNS lookups per second #105

Open jcouzy opened 2 years ago

jcouzy commented 2 years ago

Hi,

The plugin is performing multiple DNS lookups per second. Over 21.400 in the past 14 hours, although I changed the polling interval to 60 seconds.

badgertastic commented 2 years ago

same issue. my piHole has rate limited as excessive amount of lookups to my.tado.com

patrickschaper commented 2 years ago

After setting up a Pi-Hole (https://pi-hole.net/) in my network as an intermediate DNS server I can see in the logs that the plugin is asking for my.tado.com about 10 times in a row for about one second and repeats this pattern every 30 seconds. Pi-Hole will answer from cache but why does this plugin not use the computers DNS cache its running on?

Environment Homebridge is running on a docker container on Raspbian 11 (bullseye).