Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 271292 - net-dns/ndu is only useful if bind is installed
Summary: net-dns/ndu is only useful if bind is installed
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Server (show other bugs)
Hardware: All All
: High enhancement (vote)
Assignee: Robin Johnson
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-05-26 11:55 UTC by Otheus
Modified: 2009-07-31 09:12 UTC (History)
1 user (show)

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 Otheus 2009-05-26 11:55:00 UTC
net-dns/ndu uses /etc/bind/named.conf or similar file to do its work. While bind does not actually need to be installed, it ought to be recommended in the least.

Reproducible: Always

Steps to Reproduce:
1. emerge
2. run
3.

Actual Results:  
ndu version 0.4: DNS reverse file generator
Written by John Newbigin (jn@it.swin.edu.au)
Could not open configuration file /etc/bind/named.conf



Expected Results:  
emerge should warn or require bind be installed
Comment 1 Robin Johnson archtester Gentoo Infrastructure gentoo-dev Security 2009-05-26 22:27:12 UTC
I use the dnstouch binary on a machine that's nowhere near BIND, because my DNS zones are in a VCS.

So no, the package is NOT only useful if BIND is installed.
Comment 2 Otheus 2009-05-27 08:33:08 UTC
First, from the README:

"Currently, ndu is designed to work with bind 8 named.conf files."

Second, the ebuild script specifies and RDEPEND=net-dns/bind 
I don't know what that means, exactly. 

dnstouch works with bind-like zone files. If some unusual DNS server also uses these, fine; let the installer ignore the depends. That's what dependencies are for.
Comment 3 Robin Johnson archtester Gentoo Infrastructure gentoo-dev Security 2009-07-31 09:12:37 UTC
The older versions used to require that named was installed concurrently. I explicitly removed that because I put my entire bind configuration (zones and configs) into a VCS (CVS originally, now Git), and manage it from another machine centrally.

I added a warning for you.