Skip to content

Commit d89b894

Browse files
authored
Merge pull request #27 from phase2/develop
1.2.3 Release
2 parents 73afa6e + c483f34 commit d89b894

File tree

3 files changed

+7
-4
lines changed

3 files changed

+7
-4
lines changed

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
# Changelog
22

3+
## 1.2.3
4+
5+
- Updated mDNSResponder restart to avoid System Integrity Protections
6+
37
## 1.2.2
48

59
- Removed the $HOME volume mount for the Dashboard

cli/commands/dns.go

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -91,10 +91,9 @@ func (cmd *Dns) ConfigureRoutes(machine Machine) {
9191
util.StreamCommand(exec.Command("sudo", "launchctl", "unload", "-w", "/System/Library/LaunchDaemons/com.apple.discoveryd.plist"))
9292
util.StreamCommand(exec.Command("sudo", "launchctl", "load", "-w", "/System/Library/LaunchDaemons/com.apple.discoveryd.plist"))
9393
} else {
94-
// Reset DNS. We have seen this suddenly make /etc/resolver/vm work.
94+
// Reset DNS cache. We have seen this suddenly make /etc/resolver/vm work.
9595
cmd.out.Verbose.Println("Restarting mDNSResponder to flush DNS caches")
96-
util.StreamCommand(exec.Command("sudo", "launchctl", "unload", "-w", "/System/Library/LaunchDaemons/com.apple.mDNSResponder.plist"))
97-
util.StreamCommand(exec.Command("sudo", "launchctl", "load", "-w", "/System/Library/LaunchDaemons/com.apple.mDNSResponder.plist"))
96+
util.StreamCommand(exec.Command("sudo", "killall", "-HUP", "mDNSResponder"))
9897
}
9998
}
10099
}

cli/main.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ import (
88
"github.com/urfave/cli"
99
)
1010

11-
const VERSION = "1.2.2"
11+
const VERSION = "1.2.3"
1212

1313
// It all starts here
1414
func main() {

0 commit comments

Comments
 (0)