From owner-freebsd-questions@FreeBSD.ORG Sat Jan 3 08:40:44 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 A8C1B6A3 for ; Sat, 3 Jan 2015 08:40:44 +0000 (UTC) Received: from mx02.qsc.de (mx02.qsc.de [213.148.130.14]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 696722DA1 for ; Sat, 3 Jan 2015 08:40:43 +0000 (UTC) Received: from r56.edvax.de (port-92-195-85-165.dynamic.qsc.de [92.195.85.165]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mx02.qsc.de (Postfix) with ESMTPS id D0DC327653; Sat, 3 Jan 2015 09:40:40 +0100 (CET) Received: from r56.edvax.de (localhost [127.0.0.1]) by r56.edvax.de (8.14.5/8.14.5) with SMTP id t038eesr002561; Sat, 3 Jan 2015 09:40:40 +0100 (CET) (envelope-from freebsd@edvax.de) Date: Sat, 3 Jan 2015 09:40:40 +0100 From: Polytropon To: Leslie Jensen Subject: Re: Unbound in FreeBSD 10 Message-Id: <20150103094040.0cc0f867.freebsd@edvax.de> In-Reply-To: <54A7A35B.8070201@eskk.nu> References: <54A7A35B.8070201@eskk.nu> Reply-To: Polytropon Organization: EDVAX X-Mailer: Sylpheed 3.1.1 (GTK+ 2.24.5; i386-portbld-freebsd8.2) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII 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:40:44 -0000 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. -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ...