Re: chinese dns?

Lalo Martins <[email protected]> Sat, 04 Mar 2006 16:37:13 +0800
Newsgroups gmane.org.user-groups.linux.beijing,gmane.spam.detected
Message-ID <[email protected]>
And so says Pan Yongzhi on 03/03/06 11:36...
> O, you are right.  ;)  Maybe firefox is too smart. I tried 清华大学 in
> Mozilla and Opera(under Debian), both takes me to a site called
> http://www.menvip.com/ , which seems nothing to do with 清华大学. Why is
> this?

Because '清华大学' is not a domain name :-) since it has no dots in it,
firefox first tries a local network address, and if that fails, it
googles.  I think IDN isn't supposed to work for local names, so it goes
straight to google instead.  Now '清华大学.cn' is quite different.

> Then I tried 清华大学.cn in Mozilla, the location bar becomes
> http://xn--xkry9kk1bz66a.cn/ instantly and I see the homepage of 清华大
> 学. In opera the location bar becomes http://清华大学.cn/ and it shows
> the homepage of 清华 too. :) Seems this domain is registered.

For the record, the reason gecko browsers show the "raw" domain (the
'xn--*' thing) is a security measure - since there are more than one
possible mappings to the same domain, it shows you exactly what you got,
to avoid phishing.  Or something like that, I may be getting the details
wrong - if you're interested in them, google for 'IDN firefox' or 'IDN
mozilla'.

best,
                                               Lalo Martins
--
      So many of our dreams at first seem impossible,
       then they seem improbable, and then, when we
       summon the will, they soon become inevitable.
--
personal:                              http://www.laranja.org/
technical:                    http://lalo.revisioncontrol.net/
GNU: never give up freedom                 http://www.gnu.org/

_______________________________________________
blug-general list
[email protected]
http://list.beijinglug.org/cgi-bin/mailman/listinfo/blug-general