Follow up question, unbound drill command

Herbert J. Skuhra herbert at oslo.ath.cx
Sat Jan 3 12:52:51 UTC 2015


On Sat, Jan 03, 2015 at 11:32:46AM +0100, Leslie Jensen wrote:
> 
> I have two scripts that makes a table that I use in PF to allow access 
> from the outside to my local network.
> 
> The command I use can look like the line below.
> 
> for HOST in $HOSTS; do pfctl -t goodguys -T add `dig +short $HOST $NS`; done
> 
> 
> Replacing dig with drill in the command does not work.
> 
> 
> Making a symlink in /usr/bin
> 
> ln -s drill dig
> 
> solves the problem.
> 
> 
> Any suggestions on what I need to do in the script in order to make 
> drill work?

Accoding to the man pages host and drill have no short option!
Why are you installing dns/bind-tools?

-- 
Herbert


More information about the freebsd-questions mailing list