#555·sshuttle

[Feature Request] DNS Search Domain Forwarding

Author: joshuahonigCreated Nov 1, 2020Updated May 7, 2026

Would there be an interest in adding support for DNS Search Domain forwarding to sshuttle? I can take a stab at programming it but wanted to ask before starting. I haven't yet looked too deep in to the code, so pardon any misunderstandings.

Looking at the manpage, I think this feature could piggyback off of the --dns flag; the search domain can be grabbed from the server's /etc/resolv.conf, then the client sshuttle instance can add that search domain (along with the DNS servers, which --ns-hosts already does) to the network configuration on the client machine.