Bug 15056

Summary: gethostbyname complains about SIG RR:s
Product: Base System Reporter: assar <assar>
Component: binAssignee: freebsd-bugs (Nobody) <bugs>
Status: Closed FIXED    
Severity: Affects Only Me CC: assar
Priority: Normal    
Version: 4.0-CURRENT   
Hardware: Any   
OS: Any   
Attachments:
Description Flags
file.diff none

Description assar 1999-11-23 04:50:01 UTC
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"
Comment 1 Robert Watson freebsd_committer freebsd_triage 1999-12-28 16:57:49 UTC
State Changed
From-To: open->closed


Committed similar patch to -CURRENT, and will move back to -STABLE at 
some point soon. 

rwatson     1999/12/27 23:21:09 PST 

Modified files: 
lib/libc/net         gethostbydns.c  
Log: 
Suppress vast quantities of unneeded warnings spewed by libc's gethostbydns 
on encountering a real-world SIG record during a lookup of another type. 

PR:           bin/7352 
Reviewed by:  peter, eivind 

Revision  Changes    Path 
1.26      +5 -4      src/lib/libc/net/gethostbydns.c