This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Workaround for https://github.com/tailscale/tailscale/issues/12244 on macOS | |
### Usage | |
# Just put this in a shell RC file (~/.zshrc) and run `tailscaleDNSHack` | |
# With no params it sets the tailscale DNS to what your `NET_SERVICE`'s DNS is. | |
# Or pass in an argument to set that as the DNS | |
function tailscaleDNSHack () { | |
local NET_SERVICE="Wi-Fi" | |
if [ -z $1 ] |
OlderNewer