From owner-freebsd-bugs Tue Mar 21 8:40: 6 2000 Delivered-To: freebsd-bugs@freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (Postfix) with ESMTP id A78B037BB94 for ; Tue, 21 Mar 2000 08:40:01 -0800 (PST) (envelope-from gnats@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.9.3/8.9.2) id IAA17600; Tue, 21 Mar 2000 08:40:01 -0800 (PST) (envelope-from gnats@FreeBSD.org) Received: from dan.emsphone.com (dan.emsphone.com [199.67.51.101]) by hub.freebsd.org (Postfix) with ESMTP id 13D0D37BCFC for ; Tue, 21 Mar 2000 08:39:13 -0800 (PST) (envelope-from dan@dan.emsphone.com) Received: (from dan@localhost) by dan.emsphone.com (8.9.3/8.9.3) id KAA47430; Tue, 21 Mar 2000 10:39:09 -0600 (CST) (envelope-from dan) Message-Id: <200003211639.KAA47430@dan.emsphone.com> Date: Tue, 21 Mar 2000 10:39:09 -0600 (CST) From: dnelson@emsphone.com To: FreeBSD-gnats-submit@freebsd.org X-Send-Pr-Version: 3.2 Subject: bin/17532: "host" only prints A records by default Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org >Number: 17532 >Category: bin >Synopsis: "host" only prints A records by default >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Tue Mar 21 08:40:01 PST 2000 >Closed-Date: >Last-Modified: >Originator: Dan Nelson >Release: FreeBSD 5.0-CURRENT i386 >Organization: Executive Marketing Services >Environment: FreeBSD dan.emsphone.com 5.0-CURRENT FreeBSD 5.0-CURRENT #52: Mon Mar 20 10:01:54 CST 2000 dan@dan.emsphone.com:/usr/src/sys/compile/DANSMP i386 >Description: One of the BIND updates changed the default behaviour of the "host" command. It used to print both A and MX records for the address queried, but now it only prints the A record. You have to run "host -t mx" to get MX info. The manpage still says the old behaviour is the default. >How-To-Repeat: $ host emsphone.com emsphone.com has address 199.67.51.100 $ host.old emsphone.com emsphone.com has address 199.67.51.100 emsphone.com mail is handled (pri=10) by dan.emsphone.com emsphone.com mail is handled (pri=0) by gatekeeper.emsphone.com $ >Fix: Index: host.c =================================================================== RCS file: /home/ncvs/src/contrib/bind/bin/host/host.c,v retrieving revision 1.1.1.2 diff -b -u -r1.1.1.2 host.c --- host.c 1999/11/30 02:42:03 1.1.1.2 +++ host.c 2000/03/21 16:13:08 @@ -270,7 +270,7 @@ /*NOTREACHED*/ } } - if (gettype == 0) { + if (gettype == 0 && sigchase == 1) { if (verbose) printf ("Forcing `-t a' for signature trace.\n"); gettype = ns_t_a; >Release-Note: >Audit-Trail: >Unformatted: Dan Nelson To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message