gravity icon indicating copy to clipboard operation
gravity copied to clipboard

Configure to use default forwarder

Open centja1 opened this issue 1 year ago • 0 comments

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?

centja1 avatar Feb 25 '24 21:02 centja1