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

Use bootstrap-resolver as resolver #365

Open
Anuskuss opened this issue Feb 28, 2024 · 2 comments
Open

Use bootstrap-resolver as resolver #365

Anuskuss opened this issue Feb 28, 2024 · 2 comments

Comments

@Anuskuss
Copy link

Like this:

[bootstrap-resolver]
protocol = "dot"
address  = "1.1.1.1"

[resolvers.myawesomesresolver]
protocol = "dot"
address  = "myawesomesresolver.com"

[routers.router]
routes = [
  { resolver = "bootstrap-resolver", name = '\.com\.$' },
  { resolver = "myawesomesresolver" }
]
@alpominth
Copy link

alpominth commented Feb 28, 2024

Hi.

I would add an additional resolver with the same config of the bootstrap resolver, it would do the same thing as you are suggesting.

@Anuskuss
Copy link
Author

Yeah, I'm already doing that as a workaround. It's just ugly having the same config twice.

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