Skip to content

Instantly share code, notes, and snippets.

@mkyed
Created January 28, 2012 13:05
Show Gist options
  • Select an option

  • Save mkyed/1694240 to your computer and use it in GitHub Desktop.

Select an option

Save mkyed/1694240 to your computer and use it in GitHub Desktop.

Revisions

  1. mkyed revised this gist Jan 28, 2012. 1 changed file with 4 additions and 3 deletions.
    7 changes: 4 additions & 3 deletions gistfile1.txt
    Original file line number Diff line number Diff line change
    @@ -3,7 +3,8 @@
    3) $ brew install boost boost-jam lua pkg-config wget
    4) $ wget http://downloads.powerdns.com/releases/pdns-3.0.1.tar.gz && tar xzf pdns-3.0.1.tar.gz
    5) $ cd pdns-3.0.1 && ./configure --with-mysql-includes=/usr/local/mysql/include && make && make install
    6) cat /System/Library/LaunchDaemons/pdns_server.plist
    6) Adjust /usr/local/etc/pdns.conf to your mysql setup
    7) cat /System/Library/LaunchDaemons/pdns_server.plist

    <?xml version="1.0" encoding="UTF-8"?>
    <!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
    @@ -27,5 +28,5 @@
    </dict>
    </plist>

    7) sudo launchctl load /System/Library/LaunchDaemons/pdns_server.plist
    8) sudo launchctl start pdns_server
    8) sudo launchctl load /System/Library/LaunchDaemons/pdns_server.plist
    9) sudo launchctl start pdns_server
  2. mkyed revised this gist Jan 28, 2012. 1 changed file with 26 additions and 0 deletions.
    26 changes: 26 additions & 0 deletions gistfile1.txt
    Original file line number Diff line number Diff line change
    @@ -3,3 +3,29 @@
    3) $ brew install boost boost-jam lua pkg-config wget
    4) $ wget http://downloads.powerdns.com/releases/pdns-3.0.1.tar.gz && tar xzf pdns-3.0.1.tar.gz
    5) $ cd pdns-3.0.1 && ./configure --with-mysql-includes=/usr/local/mysql/include && make && make install
    6) cat /System/Library/LaunchDaemons/pdns_server.plist

    <?xml version="1.0" encoding="UTF-8"?>
    <!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
    <plist version="1.0">
    <dict>
    <key>Disabled</key>
    <true/>
    <key>Label</key>
    <string>pdns_server</string>
    <key>Program</key>
    <string>/usr/local/sbin/pdns_server</string>
    <key>EnvironmentVariables</key>
    <dict>
    <key>DYLD_LIBRARY_PATH</key>
    <string>/usr/local/mysql/lib</string>
    </dict>
    <key>KeepAlive</key>
    <true/>
    <key>SHAuthorizationRight</key>
    <string>system.preferences</string>
    </dict>
    </plist>

    7) sudo launchctl load /System/Library/LaunchDaemons/pdns_server.plist
    8) sudo launchctl start pdns_server
  3. mkyed revised this gist Jan 28, 2012. 1 changed file with 3 additions and 3 deletions.
    6 changes: 3 additions & 3 deletions gistfile1.txt
    Original file line number Diff line number Diff line change
    @@ -1,5 +1,5 @@
    1) Install MySQL <http://dev.mysql.com/>
    2) Install Homebrew <http://mxcl.github.com/homebrew/>
    3) ~ $ brew install boost boost-jam lua pkg-config
    4) Get http://downloads.powerdns.com/releases/pdns-3.0.1.tar.gz
    5) pdns-3.0.1 $ ./configure --with-mysql-includes=/usr/local/mysql/include && make && make install
    3) $ brew install boost boost-jam lua pkg-config wget
    4) $ wget http://downloads.powerdns.com/releases/pdns-3.0.1.tar.gz && tar xzf pdns-3.0.1.tar.gz
    5) $ cd pdns-3.0.1 && ./configure --with-mysql-includes=/usr/local/mysql/include && make && make install
  4. mkyed created this gist Jan 28, 2012.
    5 changes: 5 additions & 0 deletions gistfile1.txt
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,5 @@
    1) Install MySQL <http://dev.mysql.com/>
    2) Install Homebrew <http://mxcl.github.com/homebrew/>
    3) ~ $ brew install boost boost-jam lua pkg-config
    4) Get http://downloads.powerdns.com/releases/pdns-3.0.1.tar.gz
    5) pdns-3.0.1 $ ./configure --with-mysql-includes=/usr/local/mysql/include && make && make install