JTsao Posted April 26 Posted April 26 (edited) I run two Adguard DNS servers at home - I looked at one of them and the Vue node server is sending way too many DNS requests, over 45,000 in the past 24 hours (4 every 10 seconds, it seems) - nothing else on my network comes close to that many requests - I think this is excessive - does anyone have any insight regarding why this would happen? EDIT: I changed the short and long poll times and the DNS request frequency seems to match the short time - not sure why the NS has to perform a DNS query every time it polls... Edited April 26 by JTsao updaet
bpwwer Posted April 26 Posted April 26 I suspect that it has something to do with how the Emporia cloud service authenticates and the fact that it is querying a cloud service. This is all happening within the third party library that the plug-in is using to access the cloud service. It looks like for every query, it has to resolve the cloud service host name and because it uses Amazon AWS to authenticate, it needs to resolve the AWS host(s) names as well. The reason why the Vue plug-in seems like it's doing so many more is because it's likely polling much more frequently than any other plug-in. Most plug-ins won't poll a cloud service more than once a minute so that alone accounts for 6x the number DNS queries. Add in that it has to also resolve the AWS name (or names) and that's why it's doing 4 per poll instead of 1 per poll that is more normal.
JTsao Posted April 27 Author Posted April 27 Makes sense - @bpwwer - appreciate you developing this NS - I like getting notifications when EV charging starts/stops and the charging rate
Recommended Posts