-
Notifications
You must be signed in to change notification settings - Fork 1.8k
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
Reduce the ARP scanning period #1398
Comments
Mm, what period exactly do you mean? The application update check period? |
The server runs a process to update client names (host file and arp) every hour. This interval is hardcoded in clients.go file. As all of my connected devices explicitly use AGD as DNS server, sometimes the client list and query log only shows the IP address until such time the update has run. Was thinking that the interval could be reduced. Or even better, allow the update interval to be configured by the end user. https://github.com/AdguardTeam/AdGuardHome/blob/master/home/clients.go line 23 line 188 |
Well, in theory, the first time we encounter an IP address, we should try resolving its hostname. If that does not happen for some of your clients, this is most likely a bug. Just in case, do you use AGH as a DHCP server? |
I don't use AGH as DHCP server. Yeah, definitely not happening immediately for some of my clients. Check an hour later, and they are updated. |
Ah, wait, that's my bad. RDNS resolution happens in this manner, ARP is indeed once an hour |
The current period to update clients is 1 hour. Can't we make is substantially less?
Or even better, make it configurable in the UI, or the YAML file if need be.
The text was updated successfully, but these errors were encountered: