3
The Apache Mina Ftpserver project has a unit test that checks that the IP address 1.2.3.4.5
fails to be resolved by the OS's name resolution. Specifically, the expected result of:
InetAddress.getByName("1.2.3.4.5")
is "unknown host".
When I run this on Mac OS X 10.9.2, the (what appears to be a) dotted decimal IP address 1.2.3.4.5
does in fact resolve to an IP address. Based on who owns the resolved IP, it appears to belong to my ISP (and I doubt this is coincidental).
What is happening here? How is 1.2.3.4.5
being interpreted and resolved in this case?
The browser request responded with 'Bad Request (Invalid Hostname), and switching to Google DNS has fixed it (ping now reports unknown host). – Greg Kopff – 2014-04-13T12:38:50.857