Bug 672982 - xchat fails to reverse resolve IPV6 addresses
Summary: xchat fails to reverse resolve IPV6 addresses
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: Red Hat Enterprise Linux 6
Classification: Red Hat
Component: xchat
Version: 6.0
Hardware: x86_64
OS: Linux
medium
medium
Target Milestone: rc
: ---
Assignee: Jonathan Blandford
QA Contact: desktop-bugs@redhat.com
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2011-01-26 21:45 UTC by Travis Gummels
Modified: 2018-11-14 14:56 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2011-01-26 21:58:25 UTC
Target Upstream Version:


Attachments (Terms of Use)

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:


Note You need to log in before you can comment on or make changes to this bug.