Follow up question, unbound drill command

krad kraduk at gmail.com
Mon Jan 5 15:23:32 UTC 2015


why are you even bothering with external tools?

# pfctl -t ssl_stop -T add www.yahoo.com
3/3 addresses added.


# pfctl -t ssl_stop -T show
   46.228.47.114
   46.228.47.115
   192.168.210.84
   2a00:1288:110:2::4001



On 3 January 2015 at 12:52, Herbert J. Skuhra <herbert at oslo.ath.cx> wrote:

> 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
> _______________________________________________
> freebsd-questions at freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "
> freebsd-questions-unsubscribe at freebsd.org"
>


More information about the freebsd-questions mailing list