I've reproduced this (in current code). It surprises me.

We had essentially the same report on Windows:
<http://www.chiark.greenend.org.uk/~sgtatham/putty/wishlist/win-canonical-hostname.html>
In this case, the Windows network code really was explicitly doing a
reverse lookup. I changed it to just pass AI_CANONNAME to getaddrinfo()
in r5614, and that restored the previous behaviour (namely, just
following CNAMEs).

However, we're already doing that in the Unix code! It seems that
getaddrinfo() is doing an explicit reverse lookup there. If I build with
NO_IPV6, the old-skool gethostbyname() appears to just do CNAME
resolution on Unix, as expected.

Ho hum. If getaddrinfo() can't be persuaded to just do CNAMEs, I suspect
this will have to wait until
<http://www.chiark.greenend.org.uk/~sgtatham/putty/wishlist/window-title-keywords.html>,
where we can add separate keywords for our current slightly-munged
hostname and the-exact-hostname-I-typed-dammit.


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to