Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.
RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.

Bug 672982

Summary: xchat fails to reverse resolve IPV6 addresses
Product: Red Hat Enterprise Linux 6 Reporter: Travis Gummels <tgummels>
Component: xchatAssignee: Jonathan Blandford <jrb>
Status: CLOSED NOTABUG QA Contact: desktop-bugs <desktop-bugs>
Severity: medium Docs Contact:
Priority: medium    
Version: 6.0CC: ddumas
Target Milestone: rc   
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2011-01-26 21:58:25 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Travis Gummels 2011-01-26 21:45:58 UTC
Description of problem:

when you are in a channel and you look at the list of users it does a reverse resolution of the names of the hosts that you are connecting from for IPv4 addresses. For example on one channel that I'm on:

~grondo.dsl.speakeasy.net

however if you connect via an IPv6 address then this doesn't work:

~ben@2001:470:1f0f:417:226:c6ff:fea1:c1c8

the problem is not that the resolution fails, the reverse DNS works:

[ben@localhost rhel6]$ host 2001:470:1f0f:417:226:c6ff:fea1:c1c8
8.c.1.c.1.a.e.f.f.f.6.c.6.2.2.0.7.1.4.0.f.0.f.1.0.7.4.0.1.0.0.2.ip6.arpa domain name pointer snog.bencoyote.net.
[ben@localhost rhel6]$ dig -x 2001:470:1f0f:417:226:c6ff:fea1:c1c8

; <<>> DiG 9.7.0-P2-RedHat-9.7.0-5.P2.el6_0.1 <<>> -x 2001:470:1f0f:417:226:c6ff:fea1:c1c8
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 56960
;; flags: qr rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 5, ADDITIONAL: 9

;; QUESTION SECTION:
;8.c.1.c.1.a.e.f.f.f.6.c.6.2.2.0.7.1.4.0.f.0.f.1.0.7.4.0.1.0.0.2.ip6.arpa. IN PTR

;; ANSWER SECTION:
8.c.1.c.1.a.e.f.f.f.6.c.6.2.2.0.7.1.4.0.f.0.f.1.0.7.4.0.1.0.0.2.ip6.arpa. 86086 IN PTR snog.bencoyote.net.

;; AUTHORITY SECTION:
0.7.4.0.1.0.0.2.ip6.arpa. 10486 IN NS ns2.he.net.
0.7.4.0.1.0.0.2.ip6.arpa. 10486 IN NS ns3.he.net.
0.7.4.0.1.0.0.2.ip6.arpa. 10486 IN NS ns4.he.net.
0.7.4.0.1.0.0.2.ip6.arpa. 10486 IN NS ns5.he.net.
0.7.4.0.1.0.0.2.ip6.arpa. 10486 IN NS ns1.he.net.

;; ADDITIONAL SECTION:
ns1.he.net. 63432 IN A 216.218.130.2
ns2.he.net. 63432 IN A 216.218.131.2
ns2.he.net. 63432 IN AAAA 2001:470:200::2
ns3.he.net. 63432 IN A 216.218.132.2
ns3.he.net. 63432 IN AAAA 2001:470:300::2
ns4.he.net. 63432 IN A 216.66.1.2
ns4.he.net. 63432 IN AAAA 2001:470:400::2
ns5.he.net. 63432 IN A 216.66.80.18
ns5.he.net. 63432 IN AAAA 2001:470:500::2

;; Query time: 92 msec
;; SERVER: 10.7.142.20#53(10.7.142.20)
;; WHEN: Tue Jan 25 12:37:01 2011
;; MSG SIZE rcvd: 407

The problem seems to be that xchat doesn't bother to do the reverse lookup.

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

xchat-2.8.8-1.el6.x86_64

How reproducible:

Use xchat across an IPV6 net connected to an IPV6 enabled irc server.

Actual results:

reverse resolution fails

Expected results:

reverse resolution succeeds 

Additional info: