LAST CALL FOR TEST: Re: Suggestion: Removal of BIND from base / Import alternative DNS Library ldns / import dig replacement drill

Aggelos Economopoulos aoiko at cc.ece.ntua.gr
Mon Apr 12 06:50:50 PDT 2010


Justin C. Sherrill wrote:
> On Sun, April 11, 2010 10:45 pm, Aggelos Economopoulos wrote:
> 
>> Perhaps we can provide a 'host' script that generates mostly-compatible
>> output using drill in the background?
> 
> Me nitpicking: What happens if people install BIND from pkgsrc?  Which
> 'host' would run?  I think it would the native version, which would have
> strange output.  If it was changed to the pkgsrc version, the change in
> output style may confuse things.

Beh. There could be scripts using host to do nontrivial queries I guess.
Scrap that idea.

> My thought is that a behind-the-scenes change that makes it look like host
> or dig are still present, but really aren't, may lead to more overall
> confusion than having bind need to come from pkgsrc; that may be the
> preferred solution.

Agreed. Another idea would be to make host an alias (so it wouldn't
matter for scripts) for

if test -z `which host`; then
        echo "DragonFly no longer includes the BIND tools in the base
system"
	echo "You need to install BIND from pkgsrc"
	echo "Alternatively, you can use drill(1)"
else
        exec `which host`
fi

in /etc/profile (and the csh equivalent). OTOH I'm not sure we want to
add stuff like that when we remove things from base. Dunno.

Are we going to install the BIND package by default?

Aggelos





More information about the Submit mailing list