Bug 837697

Summary: glibc sends spurious DNS requests for certain hostnames
Product: Red Hat Enterprise Linux 6 Reporter: Jeroen van Bemmel <jvb127>
Component: glibcAssignee: Jeff Law <law>
Status: CLOSED DUPLICATE QA Contact: qe-baseos-tools-bugs
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 6.5CC: fweimer, mfranc
Target Milestone: rc   
Target Release: ---   
Hardware: Unspecified   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2012-07-05 15:41:57 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Jeroen van Bemmel 2012-07-04 21:11:24 UTC
Description of problem:
A call to getaddrinfo() using glibc x86_64 results in duplicate DNS queries for the same A-record, causing redundant network traffic and extra delay for the client application. It may also break certain DNS-based load balancing schemes

Version-Release number of selected component (if applicable):
glibc latest HEAD

How reproducible: Always

Steps to Reproduce:
1. Start tcpdump using "udp port 53"
2. wget -4 www.google.com
  
Actual results:
2 DNS A queries + 2 identical answers for "www.google.com"

Expected results:
Single DNS A query + answer

Additional info:
See glibc bug report: http://sourceware.org/bugzilla/show_bug.cgi?id=14307

Comment 2 Jeff Law 2012-07-05 15:41:57 UTC

*** This bug has been marked as a duplicate of bug 837695 ***