-
Notifications
You must be signed in to change notification settings - Fork 90
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
MacOS implementation of domain specific use of vpn dns #72
Conversation
Another related issue is #41, which discusses implementing split DNS on Windows. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This looks good overall, I just have a few questions. Thanks for taking the time to build this PR!
rename DomainDNSProvider to SplitDNSProvider use context manager to open file use write instead of append use if not python style
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This looks good to me. Thanks again for the PR!
Thanks @gmacon |
@gmacon do I need to do anything else to get this merged? would love to start using it from the release :) |
It would help if I remember to push "Merge Pull Request"... Sorry about that. |
Why
Currently if you're using vpn-slice you can't easily give a list of domains to use the vpn dns to resolve internally. This update allows the options of
--domains-vpn-dns=domain1.com,domain2.com
so that those domains will resolve using the vpn dns.macOS specifics
Notes
Related Issues
#37 #15 possibly #31 and could be updated to include #68 automatically in the future