On 21 December 2010 21:48, Gav... <ga...@16degrees.com.au> wrote: > > >> -----Original Message----- >> From: Andreas Veithen [mailto:andreas.veit...@gmail.com] >> Sent: Wednesday, 22 December 2010 6:39 AM >> To: builds@apache.org >> Subject: [Hudson] Strange DNS behavior on ubuntu1 >> >> All, >> >> Does anybody know why this.is.not.a.valid.hostname.at.all.no.way
That host name is not guaranteed to always be invalid. If you want to reference an invalid hostname, then use the TLD .invalid, which is specially designed for this purpose. For example: myhost.invalid anotherhost.invalid AIUI all DNS resolvers should fail to resolve such host names. >> resolves to 98.137.132.14 (nx1.ycpi.vip.sp2.yahoo.net) on ubuntu1? We >> (Axis2) have a couple of test cases that use this host name with an >> assertion on the expected exception (UnknownHostException), but they >> now all fail because they get the wrong exception (ConnectException >> with connection timed out). > > Someone from Yahoo! - where Ubuntu1 is hosted - will have to answer that. > > Gav... > >> >> Andreas > > >