You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'd like to see forward-zone be conditional for unbound so that unbound could be configured in recursive-only mode if no forwarders or providers are configured. (related to something I'd like to achieve with gluetun, as per my feature request here )
...I know that seems counterintuitive IN THIS SPECIFIC REPO, based on the intent of this package as it stands on its own, but unless there's a way to configure gluetun to use a different DNS package it sort of ties the two together, so gluetun can ONLY operate in forwarding mode, so long as this package is used.
I hacked my way into removing the forward-zone section in the config file in my own fork by modifying conf.go in that fork to test this out, and was able to successfully make a gluetun build that doesn't contain forwarders. This make gluetun and DNS work perfectly in recursive-only mode... however as you'll see it's a test/hack and would need to be made conditional based on some new environment variable, and I don't have the 'go' chops to make this happen and contribute an elegant solution.
Adding an environment variable like RECURSIVE_ONLY = true would be a nice way to achieve this.
The text was updated successfully, but these errors were encountered:
telnetdoogie
changed the title
Add a parameter to make unbound forwarding entirely optional?
Feature Request: Add a parameter to make unbound forwarding entirely optional?
May 19, 2023
I'd like to see forward-zone be conditional for unbound so that unbound could be configured in recursive-only mode if no forwarders or providers are configured. (related to something I'd like to achieve with gluetun, as per my feature request here )
...I know that seems counterintuitive IN THIS SPECIFIC REPO, based on the intent of this package as it stands on its own, but unless there's a way to configure gluetun to use a different DNS package it sort of ties the two together, so gluetun can ONLY operate in forwarding mode, so long as this package is used.
I hacked my way into removing the
forward-zone
section in the config file in my own fork by modifying conf.go in that fork to test this out, and was able to successfully make a gluetun build that doesn't contain forwarders. This make gluetun and DNS work perfectly in recursive-only mode... however as you'll see it's a test/hack and would need to be made conditional based on some new environment variable, and I don't have the 'go' chops to make this happen and contribute an elegant solution.Adding an environment variable like
RECURSIVE_ONLY = true
would be a nice way to achieve this.The text was updated successfully, but these errors were encountered: