Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 03 Jan 2015 11:32:46 +0100
From:      Leslie Jensen <leslie@eskk.nu>
To:        freebsd-questions@freebsd.org
Subject:   Follow up question, unbound drill command
Message-ID:  <54A7C54E.3000708@eskk.nu>

next in thread | raw e-mail | index | archive | help

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?


Thanks

/Leslie



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?54A7C54E.3000708>