Skip to content

Instantly share code, notes, and snippets.

View AkimoA's full-sized avatar
🏴‍☠️
swash buckling !

AkimoA

🏴‍☠️
swash buckling !
View GitHub Profile
# 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 ]