-
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
Support for add-subnet option from dnsmasq (ECS/EDNS0 Client Subnet) #2514
Comments
Am I right that you'd like AGH to be able to extract the client's IP and Mac addresses that dnsmasq adds to the outgoing DNS queries? |
@ameshkov Yes, so that I can see which device made the request on AGH instead of showing all the gateway’s IP. |
I would like to add my voice to this request. This would make it a lot more practical to run AdGuard Home on a machine already resolving DNS for a local network, such as a home router. |
Well, as I see it, this would be more useful to cloud installations of AGH - so that you could configure the router to pass clients info to AGH. Anyways, it's planned on v0.106 so it's coming relatively soon. |
v0.106 has shipped, obviously. Has this been implemented? |
Interested in the dnsmasq-like
The way I use it in dnsmasq on my router: I set it to the IP of the first hop router from my ISP (which has an IP in a different range/subnet than my public IP and obviously used by many other households in my area), this way I still get some geo-locality for CDNs but also protect my public IP address from being passed to upstream DNS servers. One can test it like this: |
There seems to be no change in To enhance privacy, some people may want to pretend that they are in a country where privacy laws are strong. People in |
EDNS Client Subnet (ECS) Guidelines: https://developers.google.com/speed/public-dns/docs/ecs JSON API for DNS over HTTPS (DoH): https://developers.google.com/speed/public-dns/docs/doh/json#supported_parameters |
Prerequisites
Please answer the following questions for yourself before submitting an issue. YOU MAY DELETE THE PREREQUISITES SECTION.
Problem Description
I set dnsmasq with my main DNS server on router because i need some complex
ipset
rules support, and AdguardHome is the only upsteam server. But now on AGH dashboard, i can only see the router ip but not the others real client ip.Proposed Solution
Add
add-mac
andadd-subnet
to dnsmasq, then AGH can get the real client ip from every requery.Additional Information
Pi-hole: Support for add-subnet option from dnsmasq (ECS/EDNS0 Client Subnet)
The text was updated successfully, but these errors were encountered: