Jump to content

Vue NS Sending Out 4 DNS requests every 10 seconds


JTsao

Recommended Posts

Posted (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 by JTsao
updaet
Posted

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. 

 

Posted

Makes sense - @bpwwer - appreciate you developing this NS - I like getting notifications when EV charging starts/stops and the charging rate

Guest
This topic is now closed to further replies.

×
×
  • Create New...