From owner-freebsd-questions@FreeBSD.ORG Sat Jan 3 09:16:34 2015 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 380BCEAB for ; Sat, 3 Jan 2015 09:16:34 +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 ECA70138B for ; Sat, 3 Jan 2015 09:16:33 +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 1A1AF27661; Sat, 3 Jan 2015 10:16:31 +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 t039GUR4002683; Sat, 3 Jan 2015 10:16:30 +0100 (CET) (envelope-from freebsd@edvax.de) Date: Sat, 3 Jan 2015 10:16:30 +0100 From: Polytropon To: Leslie Jensen Subject: Re: Unbound in FreeBSD 10 Message-Id: <20150103101630.c29c3bb4.freebsd@edvax.de> In-Reply-To: <54A7AD7C.5090807@eskk.nu> References: <54A7A35B.8070201@eskk.nu> <20150103094040.0cc0f867.freebsd@edvax.de> <54A7AD7C.5090807@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 09:16:34 -0000 On Sat, 03 Jan 2015 09:51:08 +0100, Leslie Jensen wrote: > I did try to replace dig with drill in the scripts. It did not work. > I'll try your suggestion with a symlink. There is a certain grade of compatibility, but it may not be 100 percent identical regarding options or output. > Your suggestion of using bind has crossed my mind. After reading up on > unbound I can understand the reason to the change. On network systems I maintain, I usually tend to install bind from ports and use that. The advantage is that scripts using dig will continue working as long as there isn't too much hardcoded paths. Additionally, symlinking /usr/bin/dig@ -> /usr/local/bin/dig is less of a problem than trying /usr/bin/dig@ -> /usr/bin/drill (simply because it's a different program). The version in ports is also current and can be updated if required by the usual means (pkg or portmaster) and can be maintained independently from the OS. > I've been goggling for quite a while to find descriptions on how to use > Unbound but very little useful information has turned up. I keep using unbound on workstations and home machines and laptops, for all purposes where I don't need more than a simple resolver. For everything else, see bind. :-) -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ...