Date: Sat, 3 Jan 2015 13:52:46 +0100 From: "Herbert J. Skuhra" <herbert@oslo.ath.cx> To: freebsd-questions@freebsd.org Subject: Re: Follow up question, unbound drill command Message-ID: <20150103125246.GA99061@oslo.ath.cx> In-Reply-To: <54A7C54E.3000708@eskk.nu> References: <54A7C54E.3000708@eskk.nu>
next in thread | previous in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20150103125246.GA99061>