Browse files

Created dnsmasq (markdown)

  • Loading branch information...
hparra committed Aug 10, 2016
1 parent 2948c3e commit 5c5988d8657b977fb09fefaf30a7647a19cb17fd
Showing with 19 additions and 0 deletions.
  1. +19 −0
@@ -0,0 +1,19 @@
## Installing
`brew install dnsmasq`
## Modifying dnsmasq
Since there are a few ways to install `dnsmasq` we can't assume certain paths.
Find all related files using `find / -iname "dnsmasq" 2>/dev/null`. This may take a while and won't display additional finds in subdirectories.
If already loaded _plist_ then use `launchctl list | grep dnsmasq` to determine name used registered with `launchd`. First number is currnet PID, seconde is current status.
The CLI for `launchctl` has changed in recent versions. The load/unload/start/stop commands are deprecated. `launchctl stop` will still stop a daemon, but will allow it to immediately restart if configured that way. Use it to restart after config change.
_/Library/LaunchDaemons/dev.dnsmasq.plist_ is the configuration of dnsmasq for `launchd`

0 comments on commit 5c5988d

Please sign in to comment.