From owner-freebsd-questions@FreeBSD.ORG Tue Apr 28 10:56:38 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 CE96276E for ; Tue, 28 Apr 2015 10:56:38 +0000 (UTC) Received: from smtp.infracaninophile.co.uk (smtp6.infracaninophile.co.uk [IPv6:2001:8b0:151:1:3cd3:cd67:fafa:3d78]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "smtp.infracaninophile.co.uk", Issuer "ca.infracaninophile.co.uk" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 5D0CB1B2A for ; Tue, 28 Apr 2015 10:56:38 +0000 (UTC) Received: from ox-dell39.ox.adestra.com (no-reverse-dns.metronet-uk.com [85.199.232.226] (may be forged)) (authenticated bits=0) by smtp.infracaninophile.co.uk (8.15.1/8.15.1) with ESMTPSA id t3SAuOdk058826 (version=TLSv1.2 cipher=DHE-RSA-AES128-SHA bits=128 verify=NO) for ; Tue, 28 Apr 2015 11:56:31 +0100 (BST) (envelope-from matthew@freebsd.org) Authentication-Results: smtp.infracaninophile.co.uk; dmarc=none header.from=freebsd.org DKIM-Filter: OpenDKIM Filter v2.9.2 smtp.infracaninophile.co.uk t3SAuOdk058826 Authentication-Results: smtp.infracaninophile.co.uk/t3SAuOdk058826; dkim=none reason="no signature"; dkim-adsp=none; dkim-atps=neutral X-Authentication-Warning: lucid-nonsense.infracaninophile.co.uk: Host no-reverse-dns.metronet-uk.com [85.199.232.226] (may be forged) claimed to be ox-dell39.ox.adestra.com Message-ID: <553F6757.50801@freebsd.org> Date: Tue, 28 Apr 2015 11:56:23 +0100 From: Matthew Seaman User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:31.0) Gecko/20100101 Thunderbird/31.6.0 MIME-Version: 1.0 To: freebsd-questions@freebsd.org Subject: Re: dig command ? References: <552001C0.6040304@gmail.com> <553EA687.2040602@fjl.co.uk> <553F6219.40701@qeng-ho.org> In-Reply-To: <553F6219.40701@qeng-ho.org> Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="63WdPOFQhG4q9aNIKNG2cw5Llkt8C0WH7" X-Virus-Scanned: clamav-milter 0.98.6 at lucid-nonsense.infracaninophile.co.uk X-Virus-Status: Clean X-Spam-Status: No, score=-2.8 required=5.0 tests=ALL_TRUSTED,AWL,BAYES_00 autolearn=ham autolearn_force=no version=3.4.0 X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on lucid-nonsense.infracaninophile.co.uk X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 28 Apr 2015 10:56:39 -0000 This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --63WdPOFQhG4q9aNIKNG2cw5Llkt8C0WH7 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable On 04/28/15 11:34, Arthur Chance wrote: > It didn't. What we've got now is a clone of host supplied by the unboun= d > software. >=20 > No, I've no idea why they didn't clone nslookup and dig as well. :-( Because cloning host(1) is easy. Cloning nslookup(1) -- replicating its peculiar behaviour with the reasonably sane tools bundled with unbound(8) -- is hard, and not worth it for a program that is in any case deprecated. Cloning dig(1) is not so hard, so long as you stick to basic operations. In fact, there is a dig-alike that comes with unbound: drill(1). However, when you get down to the niggling details, dig and drill behave significantly differently. In some limited areas, drill is superior, but generally dig allows exceedingly fine-grained control over generating DNS queries and displaying the results. Basically, if drill(1) doesn't cut it for you and you want dig(1) specifically, then install bind-tools. Cheers, Matthew --63WdPOFQhG4q9aNIKNG2cw5Llkt8C0WH7 Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iQJ8BAEBCgBmBQJVP2dXXxSAAAAAAC4AKGlzc3Vlci1mcHJAbm90YXRpb25zLm9w ZW5wZ3AuZmlmdGhob3JzZW1hbi5uZXQxOUYxNTRFQ0JGMTEyRTUwNTQ0RTNGMzAw MDUxM0YxMEUwQTlFNEU3AAoJEABRPxDgqeTnuFcP/Aw29jY+jZZNe0G2bQQ0RZ9o fSr6gJXW64O9ev0Bqq7rusG8XEjz7n9TANwyL20LvTBjCCgBdgQEt/l4T5/QzOKn mYyFc3GgtMoyJA9U+Lz+SSb5dp/trDp6MzmaEuh5UhFaTmkhx6BZvm0LBh5ymQ0/ IudzqJFNS9OMBRQapXEXnpkq5K/0CdKPuykb3fwgGmzb5zkrrk4f3cdaUiRsqxSb 2tAyDERXc+RqYTUWH6obZEQko6CwUdspZ+w0wHhL3uoPf4w+llh1Yp0X0dmWTIEj VV4yYFL9CukqjToutH1wZ4CocvZHlg09TOtq5ZnseqZwSOBQUXoiKScV6V+1rhh3 GBflP2oXOvl5cYkM2frDWCid66LCgm/nXDVApgfQ+9bVDEReZwhajvbLSpiQSmzN kWy+gZmrIBb1CL/qSuprSN3B9MD+SjpYaUpiOstQ/OVm0xFtplK51JQMtPUfKwuS SjZNUSRQoiFeYXEk4yM6pRrEirQzqI7UwYtUQJ+WktpiXneZ4S4DRkVaRl4oaoS8 kw6QfPTlX3lj0z/+KNrrHYx4yCHmF8/9+XIAWXpd1fNCsySv9YbBUC5m5ShvigWa atzTHwLFiDTR0CD8s/Dy7VjoLhOciKOawNrOOjCCFGtlK1p5qJcykCkjki26dEaH GAwmvZcIFCb3o5cds7Ek =OMPh -----END PGP SIGNATURE----- --63WdPOFQhG4q9aNIKNG2cw5Llkt8C0WH7--