staf621 / ki4a

Ki4a lets you tunnel your android's traffic over SSH in a very easy way.
Apache License 2.0
87 stars 52 forks source link

Set domain name for VPN DNS #13

Open ghost opened 6 years ago

ghost commented 6 years ago

Need the ability to set the domain name for DNS resolution when the VPN is active, otherwise hosts on the SSH termination network can't be resolved without a fully qualified name. The VPN should make the device behave as if it is directly connected to the destination network, and without a domain name that isn't the case.

For example, if the internal network that SSH connects to is known to DNS as bobby.myisp.net, and you want to connect to host 'sam' you can't use:

http://sam/

You have to use:

http://sam.bobby.myisp.net/