Skip to content

Commit

Permalink
Merge pull request #27 from phase2/develop
Browse files Browse the repository at this point in the history
1.2.3 Release
  • Loading branch information
febbraro authored Apr 6, 2017
2 parents 73afa6e + c483f34 commit d89b894
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 4 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
# Changelog

## 1.2.3

- Updated mDNSResponder restart to avoid System Integrity Protections

## 1.2.2

- Removed the $HOME volume mount for the Dashboard
Expand Down
5 changes: 2 additions & 3 deletions cli/commands/dns.go
Original file line number Diff line number Diff line change
Expand Up @@ -91,10 +91,9 @@ func (cmd *Dns) ConfigureRoutes(machine Machine) {
util.StreamCommand(exec.Command("sudo", "launchctl", "unload", "-w", "/System/Library/LaunchDaemons/com.apple.discoveryd.plist"))
util.StreamCommand(exec.Command("sudo", "launchctl", "load", "-w", "/System/Library/LaunchDaemons/com.apple.discoveryd.plist"))
} else {
// Reset DNS. We have seen this suddenly make /etc/resolver/vm work.
// Reset DNS cache. We have seen this suddenly make /etc/resolver/vm work.
cmd.out.Verbose.Println("Restarting mDNSResponder to flush DNS caches")
util.StreamCommand(exec.Command("sudo", "launchctl", "unload", "-w", "/System/Library/LaunchDaemons/com.apple.mDNSResponder.plist"))
util.StreamCommand(exec.Command("sudo", "launchctl", "load", "-w", "/System/Library/LaunchDaemons/com.apple.mDNSResponder.plist"))
util.StreamCommand(exec.Command("sudo", "killall", "-HUP", "mDNSResponder"))
}
}
}
Expand Down
2 changes: 1 addition & 1 deletion cli/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ import (
"github.com/urfave/cli"
)

const VERSION = "1.2.2"
const VERSION = "1.2.3"

// It all starts here
func main() {
Expand Down

0 comments on commit d89b894

Please sign in to comment.