mIRC Home    About    Download    Register    News    Help

Print Thread
Joined: Jun 2007
Posts: 35
Ameglian cow
OP Offline
Ameglian cow
Joined: Jun 2007
Posts: 35
Hi,

First, I should note that I do not actually have IPv6 connectivity here, so this isn't exactly a critical issue. But I thought it's still worth reporting:

It appears my mIRC cannot resolve hostnames to IPv6 addresses. Both /server -6 and /dns -6 fail to do so, yet resolving the same name works fine with "nslookup", e.g.:

Code:
C:\Windows\System32>nslookup www.google.com
Server:  google-public-dns-a.google.com
Address:  8.8.8.8

Non-authoritative answer:
Name:    www.google.com
Addresses:  2a00:1450:4001:818::2004
          172.217.16.164

(As you can see, I'm using Google's DNS service.)

When I do /dns -6 www.google.com I get:

Code:
16:35 * Dns resolving www.google.com
-
16:35 * Dns unable to resolve address www.google.com

If I use -4 or -46 (or no options), I get the IPv4 result correctly.

Interestingly, mIRC has no problem doing the reverse lookup:

Code:
17:00 * Dns resolving 2a00:1450:4001:818::2004
-
17:00 * Dns resolved 2a00:1450:4001:818::2004 to fra16s12-in-x04.1e100.net

Versions:
mIRC 7.52
Windows 8.1 Pro (version 6.3.9600)

Thanks


Desired: right alignment of text; consecutive spaces in /command args; Ctrl+A in custom dialogs.
Joined: Dec 2002
Posts: 5,420
Hoopy frood
Offline
Hoopy frood
Joined: Dec 2002
Posts: 5,420
Thanks for your bug report. I have not been able to reproduce this issue so far. When I use "/dns -6 www.google.com", mIRC resolves this to an IPv6 IP address as expected. mIRC calls the standard Windows API getaddrinfo() to resolve named addresses to an IP address, so it can't do anything more than use the returned results. Unfortunately, I cannot think of a reason why you would not get results with it.

Joined: Feb 2003
Posts: 2,812
Hoopy frood
Offline
Hoopy frood
Joined: Feb 2003
Posts: 2,812
I have the same issue on my end, with either an ISP that doesn't support IPv6, or when using an access point that doesn't support IPv6.

I believe nslookup (cmd window) works because it conducts a raw records request via IPv4, as a self-contained program independent of getaddrinfo(). You could choose to write your own DNS client to conduct direct queries.


Well. At least I won lunch.
Good philosophy, see good in bad, I like!

Link Copied to Clipboard