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 system DNS as fallback #1

Open
hemeroc opened this issue Apr 28, 2024 · 3 comments
Open

Add system DNS as fallback #1

hemeroc opened this issue Apr 28, 2024 · 3 comments
Labels
enhancement New feature or request

Comments

@hemeroc
Copy link

hemeroc commented Apr 28, 2024

Is there a way to add the system DNS as fallback?

e.g. I run faf-dns-proxy locally and want it to proxy to 1.1.1.1 if it can't resolve the query at 1.1.1.1 it should go to whatever the system DNS server is.

@errantmind errantmind added the enhancement New feature or request label Apr 29, 2024
@errantmind
Copy link
Owner

I can probably add that. What does your DNS setup look like on your system? How are you going about using faf-dns currently?

@hemeroc
Copy link
Author

hemeroc commented May 1, 2024

I am trying to get following setup working:

Chrome Browser --secureDNSoverHTTPS--> DNSCrypt/doh-server --dnsRequest--> errantmind/faf-dns-proxy --> 1.1.1.1 & 8.8.8.8 & systemDNS (set by provider & VPN)

The reason I am trying to get this working is that my provider sets a custom DNS that does some weird DNS blocking. When working I need the company DNS set via VPN or company WiFi.
The problem is that Chrome can only override the secure DNS and not allow a fallback to system.

@errantmind
Copy link
Owner

errantmind commented May 9, 2024

Alright, I'll try to get to this when I can. It will require a decent amount of refactoring to track this extra state to facilitate a fallback process.

I'll probably add an optional parameter --fallback with an ip:port of the fallback dns, instead of trying to identify what their system DNS is.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants