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

Add option to create Unbound forwarding configs. #187

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

reitermarkus
Copy link

Add --forward option to create Unbound configs for forwarding requests to LanCache DNS servers.

Using forward-first: yes allows downloads to continue to work even when LanCache is down, by falling back to using Unbound to resolve URLs.

@VibroAxe
Copy link
Member

Seems plausible, Can you confirm this has been tested on a running unbound instance and upload confirmation logs somewhere showing the config file generated, then I'll merge this?

@codefaux
Copy link

Similarly -- I'm currently running a functional Lancache system with just AdGuard and the lancachenet/monolithic image.

Instead of using "Settings" > "DNS Settings" to sideload a text file to forward queries for cache-domains to a lancache DNS server which returns the lancache IP, I use "Filters" > "DNS Rewrites" to just point at the lancachenet/monolithic docker image's IP address.
image

This removes the need for another DNS server, as AdGuard can just do it by itself ...as can Unbound. Should I write that up someplace? Is there interest?

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

Successfully merging this pull request may close these issues.

3 participants