Use these scripts to add DNS search domain functionality to your VPN connection, if the built-in macOS functionality doesn't work. iSstp for example, does not support it by default.
- Connect to your VPN.
- Open a terminal (bash, zsh).
- Enter the following command (don't forget to change the part [between and including the brackets]).
bash -c "$(curl -fsSL https://raw.githubusercontent.com/martijnhazebroek/scutil_search_domain/master/install.sh | sed "s/your.domain.tld/[insert your search domain here and remove the brackets]/")"
And you should be done.
- Connect to your VPN.
- Once: close your terminal if you just ran the install script.
- Open a terminal (bash, zsh).
- Enter the following command (don't forget to change the your.domain.tld part).
install_search_domain your.domain.tld
- Open a terminal.
- Enter the following command
bash -c "$(curl -fsSL https://raw.githubusercontent.com/martijnhazebroek/scutil_search_domain/master/uninstall.sh)"