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

Reverse DNS Lookups #4

Open
rweckhoff opened this issue Dec 7, 2020 · 11 comments
Open

Reverse DNS Lookups #4

rweckhoff opened this issue Dec 7, 2020 · 11 comments

Comments

@rweckhoff
Copy link

First of all ... nice work.

I do not know if this is a problem or not, however, I am noticing a significant amount of reverse DNS lookups occurring while this plugin is installed and enabled. Polling for 4 devices (Mac address or IP) is generating thousands of DNS queries every 5 minutes.

@gdotp01
Copy link

gdotp01 commented Dec 19, 2020

Yep,I’m seeing the same. I noticed it tonight when checking my pi.hole server. See attached this is just the last 24 hours.
7056B2C7-FC6F-48EB-95F6-FBD1D0A7CFA3

@nitaybz
Copy link
Owner

nitaybz commented Dec 20, 2020

I released a new version that sets the default polling to "every 10 seconds" instead of 1 and the ability to change the interval to the desired amount of time in seconds.
hope it reduces the traffic to an acceptable value...

@nitaybz
Copy link
Owner

nitaybz commented Dec 20, 2020

@nitaybz
Copy link
Owner

nitaybz commented Dec 28, 2020

Please try v1.2.0...
I've optimize the network scanner, please test it

@rweckhoff
Copy link
Author

Upgraded to 1.2.1

Same observation.

Screenshot at 4:02 / with DNS exclusions for local .arpa requests

Screenshot at 4:07 / without DNS exclusions. Almost 8K in DNS lookups. 30 second polling configured.

Screenshot at 4:16 / with DNS exclusions for local .arpa requests back in place

image

image

image

@nitaybz
Copy link
Owner

nitaybz commented Dec 28, 2020

"8K in DNS lookups." - is it in 5 minutes? means 800 on each request?
is it only the plugin that creates those lookups? please share more specific information if you can...

@nitaybz
Copy link
Owner

nitaybz commented Dec 28, 2020

is it possible that you have multiple subnets for this plugin to look into? do you have a normal network setup?
will it help if i'll add ip range or subnet range so it will not look through your entire network?

@rweckhoff
Copy link
Author

Sorry away from the computer, however, here is the screenshot of my network. Homebridge and AdGuard running on docker containers. 192.168.1.x is my primary network. Second screenshot shows reverse lookup traffic on the 192.168 and 10.0 network ranges.

Thanks, Bob

image

image

@nitaybz
Copy link
Owner

nitaybz commented Dec 30, 2020

So I think the amount of traffic is due to the complexity of your network... I'll add an option to set IP range or subnet range and it should help you reduce the amount of traffic by focusing the scan on the desired range.

@jealousofyou
Copy link

I've used the addressRange option in v1.2.3 and Pi-Hole shows that the Homebridge device is still doing lookups of IP addresses outside that range.

@julianq
Copy link

julianq commented Jun 10, 2022

Realize this is a bit of thread necromancy, but I'm having the same issue. I have my PiHole to refuse requests to a client after 1,000 DNS requests within 60 seconds, and this plugin is hitting that limit constantly.

I've increased polling interval and set the address range.

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

5 participants