Date: Tue, 23 Nov 1999 05:44:31 +0100 (CET) From: assar@stacken.kth.se To: FreeBSD-gnats-submit@freebsd.org Cc: assar@stacken.kth.se Subject: bin/15056: gethostbyname complains about SIG RR:s Message-ID: <199911230444.FAA98849@mulet.e.kth.se>
next in thread | raw e-mail | index | archive | help
>Number: 15056 >Category: bin >Synopsis: gethostbyname complains about SIG RR:s >Confidential: no >Severity: non-critical >Priority: medium >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Mon Nov 22 20:50:01 PST 1999 >Closed-Date: >Last-Modified: >Originator: Assar Westerlund >Release: FreeBSD 4.0-CURRENT i386 >Organization: none >Environment: FreeBSD-current (and -stable) (I think this fix should be MFCed) >Description: When doing gethostbyname() on a host that has a SIG RR in DNS, the resolver libraries gets unhappy and logs a complaint about not getting an A RR. >How-To-Repeat: mulet# ping www.s3.kth.se PING bartender.s3.kth.se (130.237.43.157): 56 data bytes 64 bytes from 130.237.43.157: icmp_seq=0 ttl=64 time=0.883 ms Nov 23 05:43:17 mulet ping: gethostby*.gethostanswer: asked for "www.s3.kth.se IN A", got type "SIG" >Fix: --- gethostbydns.c.orig Tue Nov 23 05:24:00 1999 +++ gethostbydns.c Tue Nov 23 05:24:59 1999 @@ -310,6 +310,7 @@ continue; } if (type != qtype) { + if (type != T_KEY && type != T_SIG) syslog(LOG_NOTICE|LOG_AUTH, "gethostby*.gethostanswer: asked for \"%s %s %s\", got type \"%s\"", qname, p_class(C_IN), p_type(qtype), >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199911230444.FAA98849>