Skip to content

Commit bb2c711

Browse files
authored
fix: Enable DNS resolution in deactivateExitNode command (#14)
The deactivateExitNode command now allows DNS resolution by setting the `--accept-dns` flag to true.
1 parent 5c9ded7 commit bb2c711

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

tailscale.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ func deactivateExitNode() {
7575
cmd := exec.Command(tailscalePath,
7676
"up",
7777
"--exit-node=",
78-
"--accept-dns=false",
78+
"--accept-dns=true",
7979
"--shields-up")
8080
cmd.SysProcAttr = &syscall.SysProcAttr{HideWindow: true}
8181
output, err := cmd.CombinedOutput()

0 commit comments

Comments
 (0)