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.184.108.40.206.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.220.127.116.11.dnsbl.httpbl.org");
have also tried:
InetAddress ia = Inet4Address.getByName("my12charakey.18.104.22.168.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.22.214.171.124.dnsbl.httpbl.org: System error
at java.net.Inet6AddressImpl.lookupAllHostAddr(Native Method)