-
Notifications
You must be signed in to change notification settings - Fork 1.9k
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
Ability to manually set locally served and private networks #3142
Comments
@ameshkov, I remember we've discussed this. This shouldn't be too hard to do in v0.107, considering the current code. What do you think? |
Let's do it, but v0.107 kinda overloaded, let's plan it for a later milestone. |
Merge in DNS/golibs from subnet-set to master Updates AdguardTeam/AdGuardHome#3142. Squashed commit of the following: commit 370cd6e Author: Eugene Burkov <E.Burkov@AdGuard.COM> Date: Thu Mar 17 17:46:30 2022 +0300 netutil: imp docs commit 4cbbcaf Author: Eugene Burkov <E.Burkov@AdGuard.COM> Date: Thu Mar 17 16:45:57 2022 +0300 netutil: reduce as possible commit 98bb220 Author: Eugene Burkov <E.Burkov@AdGuard.COM> Date: Thu Mar 17 15:57:39 2022 +0300 netutil: imp naming commit d5d770c Author: Eugene Burkov <E.Burkov@AdGuard.COM> Date: Thu Mar 17 15:39:22 2022 +0300 netutil: imp code commit ed09315 Author: Eugene Burkov <E.Burkov@AdGuard.COM> Date: Thu Mar 17 14:38:43 2022 +0300 netutil: imp code, docs commit 9a26118 Author: Eugene Burkov <E.Burkov@AdGuard.COM> Date: Thu Mar 17 14:06:50 2022 +0300 netutil: imp code, docs, examples commit 7e55a2c Author: Eugene Burkov <E.Burkov@AdGuard.COM> Date: Wed Mar 16 17:37:36 2022 +0300 netutil: add subnet set
@BirkhoffLee, hello again. We've just pushed the latest edge build that implements the feature. Could you please install it and try to set up your own private networks? You may also read the description of the new |
Can you guys update documentation on how to better use this feature? After updating my edge version a few days after this was added, my client names are no longer in the client list. ( i am still able to resolve client names locally). They just are not registering to AdGuardHome statistics and logs. So it looks like, the introduction of this feature also introduced an issue with AdGuardHome Statistics and query logging of client name. Reverse lookups works fine though. I can manually reverse look up perfectly fine with tools like dig/drill/ or nslookup. However, the AdGuardhome statistics and query logs do not properly display client names any more. They are not completing the ARP request and exchanging pertinent information necessary for the logs and statistics to properly display the client names. |
On both the stable, and beta versions, I am having no issue resolving client names to either query log or statistics. It appears that the only impacted version is the Edge version. The only other pull request that I could immediately think that broke things was this pull request It appears the GUI of AdGuardHome is not properly identifying the client names from the ARP request. |
@jumpsmm7, hello and thanks for the remark. There is indeed a bug introduced. We'll fix it in the nearest future. |
@EugeneOne1 , thank you for a timely response. And I completely understand. Awesome work with all the strides you all are taking thus far in regards to AdGuardHome. I will continue to test improvements as they progress. |
Merge in DNS/adguard-home from 3142-fix-clients to master Updates #3142. Updates #3597. Squashed commit of the following: commit 4dcabed Author: Eugene Burkov <E.Burkov@AdGuard.COM> Date: Tue Mar 22 15:13:15 2022 +0300 all: imp log of changes commit 481088d Author: Eugene Burkov <E.Burkov@AdGuard.COM> Date: Tue Mar 22 14:36:44 2022 +0300 all: swap arp and rdns priority
@jumpsmm7, well, the latest build in the edge channel is ready to be tested. Could you please take a look at it? FYI, we've changed the runtime clients' sources priority, so AGH will now get a hostname from rDNS first. |
@EugeneOne1 , it appears your changes have fixed the issue. Thank you for your efforts! |
@EugeneOne1 I have made a discovery if you will humor me a bit longer. it is regarding the ARP discoveries. |
@EugeneOne1 ,Some of the devices discovered under ARP, do have an RDNS associated as well. |
@EugeneOne1 , i honestly think it will be useful as the /proc/net/arp on the AsusWRT routers does not appear to list hostnames.
Is a short example. |
Here is also an example using arp -an /tmp/home/root# arp -an |
@EugeneOne1 @ainar-g @ameshkov , If you decide to make this a feature request, I would be willing to contribute my time and resources to testing it for you. |
@EugeneOne1, @jumpsmm7, I'm not against that, but I also don't think that we should do that in the v0.108 cycle, as we already have quite a lot of changes planned. If that's an enhancement that you would like to have, please write a separate issue about that, and we'll reexamine it once the v0.109 cycle starts. |
@BirkhoffLee, we'll close the issue for now since it seems being resolved. Consider reopening it in case of problems occured with the implementation. |
Merge in DNS/adguard-home from 3142-fix-clients to master Updates #3142. Updates #3597. Squashed commit of the following: commit 4dcabed Author: Eugene Burkov <E.Burkov@AdGuard.COM> Date: Tue Mar 22 15:13:15 2022 +0300 all: imp log of changes commit 481088d Author: Eugene Burkov <E.Burkov@AdGuard.COM> Date: Tue Mar 22 14:36:44 2022 +0300 all: swap arp and rdns priority
Merge in DNS/adguard-home from 3142-custom-subnets to master Updates AdguardTeam#3142. Squashed commit of the following: commit 11469ad Author: Eugene Burkov <E.Burkov@AdGuard.COM> Date: Thu Mar 17 19:56:02 2022 +0300 all: upd golibs, use subnet set
Merge in DNS/adguard-home from 3142-fix-clients to master Updates AdguardTeam#3142. Updates AdguardTeam#3597. Squashed commit of the following: commit 4dcabed Author: Eugene Burkov <E.Burkov@AdGuard.COM> Date: Tue Mar 22 15:13:15 2022 +0300 all: imp log of changes commit 481088d Author: Eugene Burkov <E.Burkov@AdGuard.COM> Date: Tue Mar 22 14:36:44 2022 +0300 all: swap arp and rdns priority
Prerequisites
Please answer the following questions for yourself before submitting an issue. YOU MAY DELETE THE PREREQUISITES SECTION.
Problem Description
in internal/aghnet/subnetdetector.go#87, the LAN subnets are hardcoded. I have this use case where
100.64.0.0/10
is considered a private, secure network (Tailscale). For PTR questions from that network, Adguard Home simply restricts them (in internal/dnsforward/dns.go#327) and returns an NXDOMAIN. If I request with an IP withinlocServedNets
, the PTR question is correctly handled.Proposed Solution
locServedNets
should be configurable inAdGuardHome.yaml
as an array.Alternatives Considered
There is no apparent alternatives.
Additional Information
None.
The text was updated successfully, but these errors were encountered: