Path: csiph.com!x330-a1.tempe.blueboxinc.net!usenet.pasdenom.info!aioe.org!.POSTED!not-for-mail From: Steven Simpson Newsgroups: comp.lang.java.programmer Subject: Re: getting Fully Qualified Domain Name (FQDN) ... Date: Mon, 06 Feb 2012 11:53:50 +0000 Organization: Aioe.org NNTP Server Lines: 36 Message-ID: References: <1328524387.448743@nntp.aceinnovative.com> NNTP-Posting-Host: sR0uE/JCHDXdxvwek7ka0w.user.speranza.aioe.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Complaints-To: abuse@aioe.org User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:9.0) Gecko/20111229 Thunderbird/9.0 X-Notice: Filtered by postfilter v. 0.8.2 Xref: x330-a1.tempe.blueboxinc.net comp.lang.java.programmer:11757 On 06/02/12 10:33, lbrt chx _ gemale wrote: > /* > Say you want to keep the local copies of documents you download/view online in a directory structure that somewhat resembles the URL path. > When you use firefox as the browser it seems to darken the FQDN, Took me a while to work out what you meant. As I see it, it leaves a portion of the authority black, and lightens the other parts. > but then you can check it doesn't do it truthfully. Try for example: > ~ > http://www-hiel.ist.osaka-u.ac.jp/~iizuka/Hiroyuki_Iizuka.html > http://www.c.u-tokyo.ac.jp/eng_site/ > ~ > Why is it that u-tokyo.ac.jp throws an UnknownHostException? What makes you think that FF is claiming that the highlighted portion of the authority is strictly a 'host' name? > java.net.UnknownHostException: u-tokyo.ac.jp > at java.net.Inet6AddressImpl.lookupAllHostAddr(Native Method) > at java.net.InetAddress$1.lookupAllHostAddr(InetAddress.java:867) > at java.net.InetAddress.getAddressFromNameService(InetAddress.java:1246) > at java.net.InetAddress.getAllByName0(InetAddress.java:1197) > at java.net.InetAddress.getAllByName(InetAddress.java:1128) > at java.net.InetAddress.getAllByName(InetAddress.java:1064) > at java.net.InetAddress.getByName(InetAddress.java:1014) > at GetCanonicalHostName.main(GetCanonicalHostName.java:22) $ host u-tokyo.ac.jp u-tokyo.ac.jp mail is handled by 20 utmail2.nc.u-tokyo.ac.jp. u-tokyo.ac.jp mail is handled by 10 utmail3.nc.u-tokyo.ac.jp. -- ss at comp dot lancs dot ac dot uk