Skip to content

Fix: Allow --to-ns and --ns-host without --dns.#643

Merged
brianmay merged 1 commit intosshuttle:masterfrom
skuhl:fix-to-ns-with-ns-hosts
May 22, 2021
Merged

Fix: Allow --to-ns and --ns-host without --dns.#643
brianmay merged 1 commit intosshuttle:masterfrom
skuhl:fix-to-ns-with-ns-hosts

Conversation

@skuhl
Copy link
Contributor

@skuhl skuhl commented May 21, 2021

If the user specifies --to-ns (tells the remote server which DNS
server to use for lookups coming from sshuttle), then either --ns-host
or --dns need to also be used (route DNS requests through sshuttle).

A previous commit incorrectly made it so --to-ns and --ns-host
couldn't be successfully used together.

Attempts to fix #641.

If the user specifies --to-ns (tells the remote server which DNS
server to use for lookups coming from sshuttle), then either --ns-host
or --dns need to also be used (route DNS requests through sshuttle).

A previous commit incorrectly made it so --to-ns and --ns-host
couldn't be successfully used together.

Attempts to fix sshuttle#641.
@brianmay brianmay merged commit bc54ffe into sshuttle:master May 22, 2021
@skuhl skuhl deleted the fix-to-ns-with-ns-hosts branch May 24, 2021 18:50
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.

--to-ns option is ignored because --dns was not used

2 participants