mnuzen/wire-dolphine

Implement reverse IP lookup

Erik-Handeland opened this issue · 4 comments

add reverse IP lookup to populate Domain and Location section of database

I already implemented location lookup. Just call the GeolocationDAO when we put things together.

Can we commit the reverse location lookup as a separate module. It does not have to be a DAO at this point since I assume you are directly talking to an external service and getting the output.
It could be something like:

public interface ReverseIPLookup {
  String getLookup(String ip);
}

Jevin can provide a class that implements this Interface, for now it can be simple like this
public class ExternalReverseIPLookup implements Rever.. .{
// Initialize connection to ext service etc
// implement the interface method.
}

Added in #9. Will work on adding in DNS lookup.

DNS lookup in #17 and #19