diff --git a/README.md b/README.md index f945500..1f16679 100644 --- a/README.md +++ b/README.md @@ -85,6 +85,35 @@ processes in background. For example, you might want to add the following line t screen -dmS dingo /path/to/bin/dingo -port=53 -gdns:server=[2a00:1450:401b:800::200e] ``` +In macOS, you can use [`launchd`](http://www.launchd.info/). Install `dingo` in `/usr/local/bin`. Login as root `sudo su` (required to listen on 53). Create a service file `/Library/LaunchDaemons/dingo.plist`. Start the service `launchctl load -w /Library/LaunchDaemons/dingo.plist`: + +```xml + + + + + Label + dingo + ProgramArguments + + /usr/local/bin/dingo + -port53 + -gdns:server216.58.199.78 + -gdns:workers20 + -gdns:nopad + + KeepAlive + + StandardOutPath + /usr/local/var/log/dingo.log + StandardErrorPath + /usr/local/var/log/dingo.err + + +``` + + + ## Author Pawel Foremski, [pjf@foremski.pl](mailto:pjf@foremski.pl)