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

Configure to use default forwarder #918

Open
centja1 opened this issue Feb 25, 2024 · 0 comments
Open

Configure to use default forwarder #918

centja1 opened this issue Feb 25, 2024 · 0 comments

Comments

@centja1
Copy link

centja1 commented Feb 25, 2024

Is there a way to configure the DNS zones similar to the Conditional Forwarding Zones in Technitium?

I would like to configure a dns zone for example.com to use an arbitrary combination of handlers and then, should there be no answer returned from these handlers, have the query sent to a default handler.

From a fresh install:

  1. dig example.com @<<gravity ip address>>:53 - returns the correct IP address for example.com
  2. Create example.com zone with only memory and etcd forwarders
  3. dig example.com @<<gravity ip address>>:53 - returns NXDOMAIN
  4. Add forward_ip handler to 1.1.1.1:53 to example.com zone - returns the correct IP address for example.com

I think, essentially, I would prefer to not have to add a forwarder to every zone and just configure my default forwarder once while still retaining the ability to forward specific zones to different DNS services.

Is this possible?

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

1 participant