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

Support matching clients by GeoIP data #7096

Open
3 tasks done
miladtempaccount opened this issue Jun 24, 2024 · 5 comments
Open
3 tasks done

Support matching clients by GeoIP data #7096

miladtempaccount opened this issue Jun 24, 2024 · 5 comments

Comments

@miladtempaccount
Copy link

Prerequisites

  • I have checked the Wiki and Discussions and found no answer

  • I have searched other issues and found no duplicates

  • I want to request a feature or enhancement and not ask a question

The problem

set specefic ip for a domain on group of clients ( via geo and via ip subnets )
for i.e:

if clients from 192.168.0.0/24 querid example.com, adguard would say its on 125.251.2.1
if clients from 192.168.10.0/24 querid example.com, adguard would say its on 243.251.2.1
if clients from Germany (country) querid example.com, adguard would say its on 2.2.2.2
if clients from 192.168.0.10/24,185.2.12.0/24,19.2.1.2/24 querid example.com, adguard would say its on 6.2.2.5

if it's already there, please tell me how to do it ?

Proposed solution

  • with this feature you're kinda implementing simple/manual geodns
    .
    .
    .
    .
    .
    if it's already there, please tell me how to do it ?

Alternatives considered and additional information

No response

@ainar-g
Copy link
Contributor

ainar-g commented Jun 24, 2024

As mentioned, you can already use CIDRs with $client modifier. Retitling.

@ainar-g ainar-g changed the title set specefic ip for a domain on group of clients ( via geo and via ip subnets ) Support matching clients by GeoIP data Jun 24, 2024
@miladtempaccount

This comment was marked as off-topic.

@miladtempaccount

This comment was marked as off-topic.

@ainar-g
Copy link
Contributor

ainar-g commented Jun 24, 2024

Again, this is an issue tracker and not a discussion forum. Please use the Discussions page for that. Also, you can find the answers to your questions yourself in our filtering rules documentation.

@miladtempaccount
Copy link
Author

Ok, Thank you, I asked in discussions ...

for anyone that looks for this matter
#7097

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

No branches or pull requests

2 participants