Installing pdnsd from homebrew as root user.
$ brew install pdnsd
$ sudo chown -R nobody /usr/local/var/cache/pdnsd
$ curl -L http://goo.gl/kMlyQ -o pdnsd.conf
$ mv pdnsd.conf /usr/local/etc
$ sudo chown root /usr/local/etc/pdnsd.conf
Test
$ sudo pdnsd
$ dig @127.0.0.1 www.google.com
.... You should see a proper response here.
Running pdnsd on startup.
$ curl -L http://goo.gl/qk77g -o homebrew.mxcl.pdnsd.plist
$ sudo mv homebrew.mxcl.pdnsd.plist /Library/LaunchDaemons
$ sudo chown root /Library/LaunchDaemons/homebrew.mxcl.pdnsd.plist
$ sudo launchctl load -w /Library/LaunchDaemons/homebrew.mxcl.pdnsd.plist
Thank you, this was helpful!
Still haven't been able to get pdnsd working though, how about a step-by-step guide for OS X? Type S_L_O_W!