Red Hat Bugzilla – Bug 1020486
glibc getnameinfo call fails when many PTR records are associated with an IP
Last modified: 2016-11-24 07:11:38 EST
Created attachment 813492 [details]
getnameinfo.c from Postfix source
Description of problem:
The glibc function call getnameinfo fails when the DNS response exceeds ~ 1024 bytes.
It appears this was fixed upstream in early 2008:
And was reported to Fedora, although never backported to RHEL:
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. Compile and run the attached getnameinfo.c program (or grab it from postfix source)
2. Query an IP with 100+ PTR records
getnameinfo 188.8.131.52: Name or service not known
Information about any one of the valid PTR records should be displayed.
(The below is from an CentOS 6 box with glibc-2.12-1.107.el6.x86_64)
I was hoping the patch for this issue would be backported to RHEL 5.
Thanks for submitting this issue. We'll consider this bug while we scope issues to fix for the next release.
Just an FYI from the planning call. This will be ack'd by PM and is expected
to be within QE capacity for RHEL 5.11.
This request was evaluated by Red Hat Product Management for inclusion
in a Red Hat Enterprise Linux release. Product Management has
requested further review of this request by Red Hat Engineering, for
potential inclusion in a Red Hat Enterprise Linux release for currently
deployed products. This request is not yet committed for inclusion in
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.
For information on the advisory, and where to find the updated
files, follow the link below.
If the solution does not work for you, open a new bug report.