Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 59862 - pdns ebuild cannot handle recursor (pdns-2.9.15.ebuild)
Summary: pdns ebuild cannot handle recursor (pdns-2.9.15.ebuild)
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High minor
Assignee: Sven Wegener
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-08-09 08:05 UTC by Henrik
Modified: 2005-07-16 21:54 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Henrik 2004-08-09 08:05:52 UTC
PowerDns (emerge pdns) has a built-in recursor, that looks up a DNS entry if it is not in the local database. It's binary is called pdns_recursor.

When doing a normal emerge pdns, the binary is not being built. By adding the line "--enable-recursor" to the "econf" value under src_compile and (r)emerging, the binary appears. Still, the pdns script in /etc/init.d does not start the recursor. 

Reproducible: Always
Steps to Reproduce:
1.emerge pdns
2./etc/init.d/pdns
3.dig @localhost gentoo.org

Actual Results:  
I get a timeout, since no recursor is running.

Expected Results:  
This was quite expected, but i would like to be able to enable the recursor, and
that the /etc/init.d/pdns script will launch it if present.

PowerDNS configuration Howto:
http://downloads.powerdns.com/documentation/html/built-in-recursor.html

My main "wish" is that the pdns script will lauch the recursor if available. A
second wish would be for example a USE-flag for PDNS_RECURSOR or something.

An alternative would be to make the ebuild compile the binary by default, and
have its own init.d/ script.
Comment 1 Alex Howells (RETIRED) gentoo-dev 2005-05-02 12:09:35 UTC
Assigning bug to developer who 'appears' to maintain PowerDNS ebuilds :)
Comment 2 Sven Wegener gentoo-dev 2005-07-16 21:54:50 UTC
Available in 2.9.18 via the recursor USE flag.