Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

WSPR extension excess DNS requests #868

Open
unixpunk opened this issue Apr 1, 2024 · 2 comments
Open

WSPR extension excess DNS requests #868

unixpunk opened this issue Apr 1, 2024 · 2 comments

Comments

@unixpunk
Copy link

unixpunk commented Apr 1, 2024

Hi and thanks for your and others work on this project! I noticed after implementing a pi-hole DNS server that it shows wsprnet.org DNS requests happening close to 5k times each day (24hours).

I have the module running on 4 different bands when the Kiwi has no users on it, in case that plays a role in the amount of requests.

To give some sense of perspective, the next highest counting DNS request I have is 1300 per day, which appears to be an issue with that other device. Next highest after that is 725 per day... The TTL for wsprnet.org appears to be greater than 9 hours
( I can see it as it counts down using: nslookup -debug wsprnet.org )

@jks-prv
Copy link
Owner

jks-prv commented Apr 1, 2024

Are you using the Kiwi's WSPR extension in "autorun" mode on 4 channels? Or running the WSPR extension from the browser interface? I ask because the mechanism used to upload spots to wsprnet.org is different in those two cases and might effect how DNS requests are made.

5k DNS lookups per day is really not all that much. And not a problem given how DNS works. There are 720 2-minute periods in 24 hours. (30 x 24). If you have 4 channels running WSPR on different bands that's a potential for 720 x 4 = 2880 DNS lookups if there is a single decode per channel/band per period. There is likely to be many more.

The Kiwi doesn't run its own DNS that might do some caching. It's just one more thing to go wrong and cause support headaches. 5k DNS requests over a day is simply not an issue for whatever your upstream caching DNS server is. In your router or at your ISP or even your pi-hole.

@unixpunk
Copy link
Author

unixpunk commented Apr 2, 2024

Sorry - WSPR is autorun on 2 channels/bands and FT8 is on the other 2 autorun channels. I see no pskreporter.info dns requests at all - the kiwi seems to make very few other lookup requests; only a handful within 24 hours aside from wsprnet.

Can you clarify "if there is a single decode per channel/band per period. There is likely to be many more."

Are you saying that there should be 1 DNS request per wspr signal decode or 1 per decode/reporting period regardless of the number of decodes being uploaded? ie, I recently had 94 decodes in one period, this causes 94 dns lookups or 1 lookup?

I'm not implying this is causing any issues, I also work in software and I would want someone to tell me if my app was making 10x DNS requests more than the next highest (legit) request count so I'm simply sharing my observation.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants