github
Advanced Search
  • Home
  • Pricing and Signup
  • Explore GitHub
  • Blog
  • Login

Signum / debian-pdns-recursor

  • Admin
  • Watch Unwatch
  • Fork
  • Your Fork
  • Pull Request
  • Download Source
    • 2
    • 0
  • Source
  • Commits
  • Network (0)
  • Issues (0)
  • Downloads (20)
  • Wiki (1)
  • Graphs
  • Branch: master

click here to add a description

click here to add a homepage

  • Branches (3)
    • master ✓
    • pristine-tar
    • upstream
  • Tags (20)
    • upstream/3.1.7.2
    • upstream/3.1.7.1
    • upstream/3.1.7
    • upstream/3.1.5
    • upstream/3.1.4
    • debian/etch
    • debian/3.1.7-5
    • debian/3.1.7-4
    • debian/3.1.7-3.1
    • debian/3.1.7-3
    • debian/3.1.7.2-1
    • debian/3.1.7-2
    • debian/3.1.7.1-4
    • debian/3.1.7.1-3
    • debian/3.1.7.1-2
    • debian/3.1.7.1-1
    • debian/3.1.7-1
    • debian/3.1.5-1
    • debian/3.1.4-1+etch3
    • debian/3.1.4-1+etch2
Sending Request…
Enable Donations

Pledgie Donations

Once activated, we'll place the following badge in your repository's detail box:
Pledgie_example
This service is courtesy of Pledgie.

Debian package maintenance for the PowerDNS recursor software — Read more

  cancel

http://packages.debian.org/pdns-recursor

  cancel
  • Private
  • Read-Only
  • HTTP Read-Only

This URL has Read+Write access

 * Add sh4 really. 
matthijs (author)
Fri Jan 08 09:38:32 -0800 2010
commit  5c53cf52a9aee6c01eebd633f60cb94903b526ad
tree    c9ed5132e95c217e0207df48f46e7d3d83f9720c
parent  f8303081dad1af87dd7f5398df581ce4bebe92e0
debian-pdns-recursor /
name age
history
message
file COPYING Loading commit data...
file Makefile
file Makefile.win32
file PowerDNS Recursor.vcproj
file README
file aes.h
file aes_modes.c
file aescpp.h
file aescrypt.c
file aeskey.c
file aesopt.h
file aestab.c
file aestab.h
file ahuexception.hh
file arguments.cc
file arguments.hh
file base64.cc
file base64.hh
file brg_endian.h
file brg_types.h
file config.h
file configure
directory debian/
file dns.hh
file dns_random.cc
file dns_random.hh
file dnsparser.cc
file dnsparser.hh
file dnsrecords.cc
file dnsrecords.hh
file dnswriter.cc
file dnswriter.hh
file epollmplexer.cc
file iputils.hh
file kqueuemplexer.cc
file lock.hh
file logger.cc
file logger.hh
file lua-pdns-recursor.cc
file lua-pdns-recursor.hh
file lwres.cc
file lwres.hh
file malloc.c
file malloc.h
file misc.cc
file misc.hh
file mplexer.hh
file mtasker.cc
file mtasker.hh
file ntservice.cc
file ntservice.hh
file pdns-recursor.init.d
file pdns_hw.cc
file pdns_recursor.1
file pdns_recursor.cc
file portsmplexer.cc
file powerdns-example-script.lua
file qtype.cc
file qtype.hh
file rcpgenerator.cc
file rcpgenerator.hh
file rec_channel.cc
file rec_channel.hh
file rec_channel_rec.cc
file rec_control.1
file rec_control.cc
file recursor_cache.cc
file recursor_cache.hh
file recursorservice.cc
file recursorservice.hh
directory rrd/
file selectmplexer.cc
file sillyrecords.cc
file singleton.hh
file sstuff.hh
file syncres.cc
file syncres.hh
directory sysdeps/
file unix_utility.cc
file utility.hh
file win32_logger.cc
file win32_mtasker.cc
file win32_mtasker.hh
file win32_rec_channel.cc
file win32_utility.cc
file zoneparser-tng.cc
file zoneparser-tng.hh
README
DOCUMENTATION
-------------
For full details, please read:

               http://doc.powerdns.com/built-in-recursor.html

COMPILING
---------

$ ./configure
$ make or gmake

The only dependency is Boost, http://boost.org/
You only need to download it, there is no need to compile.

On most modern UNIX distributions, you can simply install 'boost' or
'boost-dev' or 'boost-devel'. If you don't have that option, or don't want
to use it, try:

1) head to http://sourceforge.net/project/showfiles.php?group_id=7586 and
download the latest boost tar.bz2 or tar.gz, perhaps from:
http://downloads.sourceforge.net/project/boost/boost/1.39.0/boost_1_39_0.tar.bz2?use_mirror=ovh
(use the first link if this one doesn't work)

2) untar it:

$ tar xjf boost_1_39_0.tar.bz2

3) Compile the PowerDNS recursor using:

$ CXXFLAGS=-I./boost_1_39_0/ ./configure
$ CXXFLAGS=-I./boost_1_39_0/ make clean 
$ CXXFLAGS=-I./boost_1_39_0/ make all
(the 'clean' is needed to have make pick up the new boost)

4) Run ./pdns_recursor and you should be set!

5) (g)make install

(use gmake on many BSD variant and Solaris, regular make on Linux)

OPTIONAL LUA SCRIPTING
----------------------
To benefit from Lua scripting, as described on
http://doc.powerdns.com/recursor-scripting.html please compile like this:

$ LUA=1 (g)make
or even

$ LUA=1 LUA_CPPFLAGS_CONFIG=-I/usr/local/include/lua5.1 LUA_LIBS_CONFIG=-llua5.1\
  (g)make

Use the _CONFIG settings to point out to PowerDNS where your Lua
installation resides. PowerDNS supports both Lua 5.0 and 5.1.

PLATFORM SPECIFIC NOTES
-----------------------
When compiling on Solaris 8, use:
$ CPPFLAGS=-DSOLARIS8 ... gmake 

where ... stands for any possible CXXFLAGS or PROFILEFLAGS, see below.

PERFORMANCE
-----------

For the utmost in performance, compile like this:

   $ PROFILEFLAGS=-fprofile-generate make

Then run the program for a bit, in as much of a real-life setting as you
have available. Then run:

   $ rec_control quit-nicely
   bye nicely

Then do:

   $ PROFILEFLAGS=-fprofile-use make clean all

The resulting binary is up to 20% faster in our tests.

Do run with g++ 4.4.1 if you can, it is the best.

RUNNING ON A DIFFERENT MACHINE
------------------------------
To prevent hassles with g++/c++ dependencies, you can build like this:
   $ STATIC=semi make all

PROBLEMS
--------
If you have problems linking, try removing the GCC_SKIP_LOCKING line from
config.h
Blog | Support | Training | Contact | API | Status | Twitter | Help | Security
© 2010 GitHub Inc. All rights reserved. | Terms of Service | Privacy Policy
Powered by the Dedicated Servers and
Cloud Computing of Rackspace Hosting®
Dedicated Server