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

How to configure client whitelist #392

Open
liang-hiwin opened this issue May 10, 2024 · 2 comments
Open

How to configure client whitelist #392

liang-hiwin opened this issue May 10, 2024 · 2 comments

Comments

@liang-hiwin
Copy link

I want to configure that only IPs that comply with CIDR can use dns.

@folbricht
Copy link
Owner

That seems straightforward, like in https://github.com/folbricht/routedns/blob/master/cmd/routedns/example-config/client-blocklist-drop.toml Just need to set resolver to something that blocks, and blocklist-resolver to something that forwards the query.

@liang-hiwin
Copy link
Author

That seems straightforward, like in https://github.com/folbricht/routedns/blob/master/cmd/routedns/example-config/client-blocklist-drop.toml Just need to set resolver to something that blocks, and blocklist-resolver to something that forwards the query.

I need a whitelist IP list, such as building a dns server whitelisted IP or a whitelisted country IP before I can use it.

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

2 participants