Author: J.McKay2 (13 Aug 13 1:31am)
I am trying to use the api from a java app and am getting unknownhost exception when I try and resolve: my12charakey.18.104.22.168.dnsbl.httpbl.org (have removed my key in all that follows)
The reversed ip is arbitary but exists. Other lookups like say google.com work fine so I think my dns config is ok.
In java the code is very simple:
InetAddress ia = InetAddress.getByName("my12charakey.22.214.171.124.dnsbl.httpbl.org");
have also tried:
InetAddress ia = Inet4Address.getByName("my12charakey.126.96.36.199.dnsbl.httpbl.org");
Any thoughts on what might be the problem would be much appreciated !!
The full error is:
Exception in thread "main" java.net.UnknownHostException: my12charakey.188.8.131.52.dnsbl.httpbl.org: System error
at java.net.Inet6AddressImpl.lookupAllHostAddr(Native Method)