--to-ns should take a list of DNS servers

Open
#493 0 comments 2 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
3/5
Estimated time
1-2 days
Newbie friendliness
35/100
Issue type
Feature
Clarity
Mostly clear
Activity status
Stale
Tech stack
python
Domain
cli, networking

Research direction

Start with the --to-ns and --ns-hosts entries in the sshuttle manpage and trace their corresponding command-line handling in the Python code. Confirm how nameservers are parsed and used for DNS forwarding. Done means --to-ns accepts a comma-separated list and supports failover, with documentation and tests updated accordingly.

Written by the indexing model from the issue text.

Description

https://sshuttle.readthedocs.io/en/latest/manpage.html#cmdoption-sshuttle-to-ns

According to the documentation: --to-ns can only specify one nameserver. It would be great if we can supply multiple. Other param like --ns-hosts can take a comma separated list.

  • Useful for failover.
  • Useful to get around corp dnsservers which do a cheap block to sinkhole some domains.
Dominant language
Python
Stars
13.6k
Forks
795
Avg merge
8h 49m
Merged PRs (30d)
12

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from sshuttle/sshuttle

All issues in sshuttle/sshuttle

Similar issues

More Python issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.