Skip to content

Instantly share code, notes, and snippets.

@kometchtech
Last active November 29, 2017 02:19
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save kometchtech/1cda9953aa51c1498183 to your computer and use it in GitHub Desktop.
Save kometchtech/1cda9953aa51c1498183 to your computer and use it in GitHub Desktop.
powerdns recursor for Mac OSX
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>Label</key>
<string>homebrew.mxcl.pdnsrec</string>
<key>ProgramArguments</key>
<array>
<string>/usr/local/opt/pdnsrec/sbin/pdns_recursor</string>
</array>
<key>RunAtLoad</key>
<true/>
<key>KeepAlive</key>
<true/>
<key>OnDemand</key>
<false/>
</dict>
</plist>
@kometchtech
Copy link
Author

plistファイルの配置場所は:
/Library/LaunchDaemons/homebrew.mxcl.pdnsrec.plist

ファイルのパスは:
/usr/local/opt/pdnsrec/sbin/pdns_recursor

@kometchtech
Copy link
Author

設定ファイルを編集し有効にする場合、Launchctl stop だけでは有効にならず、一度プロセスを殺すなどの必要がある。

@fvdm
Copy link

fvdm commented Jul 7, 2017

Thanks a lot! I was looking for this as it is not included in the Homebrew install.

@kometchtech
Copy link
Author

@fvdm
It became late to notice.
This information is your vote, I'm glad.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment