From owner-freebsd-questions@FreeBSD.ORG Sat Jan 3 08:51:16 2015 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 4DC429AC for ; Sat, 3 Jan 2015 08:51:16 +0000 (UTC) Received: from smtp-out21.han.skanova.net (smtp-out21.han.skanova.net [195.67.226.208]) by mx1.freebsd.org (Postfix) with ESMTP id DDCF22ECF for ; Sat, 3 Jan 2015 08:51:15 +0000 (UTC) Received: from Leslies-MacBook-Pro.local (194.237.176.105) by smtp-out21.han.skanova.net (8.5.142.07) id 547534BD0112478C; Sat, 3 Jan 2015 09:51:08 +0100 Message-ID: <54A7AD7C.5090807@eskk.nu> Date: Sat, 03 Jan 2015 09:51:08 +0100 From: Leslie Jensen User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.10; rv:24.0) Gecko/20100101 Thunderbird/24.6.0 MIME-Version: 1.0 To: Polytropon Subject: Re: Unbound in FreeBSD 10 References: <54A7A35B.8070201@eskk.nu> <20150103094040.0cc0f867.freebsd@edvax.de> In-Reply-To: <20150103094040.0cc0f867.freebsd@edvax.de> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-questions@freebsd.org X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 03 Jan 2015 08:51:16 -0000 Polytropon skrev 2015-01-03 09:40: > On Sat, 03 Jan 2015 09:07:55 +0100, Leslie Jensen wrote: >> With the omission of BIND from FreeBSD I've lost the "dig" command. I >> use the "dig" command in some scripts to make a list of trusted hosts >> that can access the local network from the outside. >> >> Replacing the "dig" command in my scripts are crucial to the functionality. > While dig belongs to bind, unbound is using drill. > You could probably create a symlink to keep your > scripts' use of dig. > > Additionally, you could stop using unbound at all > and install bind from ports. This will of course > come with the dig command, and you could basically > use your old system's bind configuration, you just > have to make the move from /etc to /usr/local/etc > for the configuration files. > > There is nothing wrong using bind from ports. It's > just that bind not part of the OS distribution anymore, > because unbound offers the "more simple features" of > bind for DNS resolving, and for everything else, bind > from ports can still be used. It's also a newer version > than the one which came with the OS. > > Thanks for you answer :-) I did try to replace dig with drill in the scripts. It did not work. I'll try your suggestion with a symlink. Your suggestion of using bind has crossed my mind. After reading up on unbound I can understand the reason to the change. I've been goggling for quite a while to find descriptions on how to use Unbound but very little useful information has turned up. /Leslie