mnuzen / wire-dolphine

The goal of this project is to provide causal users with a simple and intuitive way of visualizing network communications. By explaining how computers communicate through packets and networks, we hope to educate users on the structure of the internet.
Apache License 2.0
3 stars 1 forks source link

Integrate Reverse DNS lookup #17

Closed thorncorona closed 4 years ago

thorncorona commented 4 years ago
thorncorona commented 4 years ago

Initial investigation:

InetAddress.getByName(ip).getCanonicalHostName();

Java's native implementation is very slow.

Out of sites

[
  'google.com',
  'reddit.com',
  'nytimes.com',
  'reddit.com',
  'facebook.com',
  'python.org',
  'imgur.com',
  'wikipedia.org',
  'youtube.com',
  'stackoverflow.com',
]

about 40% simply returned back their url.

Investigating alternatives to speed up lookup, cache potentially needed.

thorncorona commented 4 years ago

Completed in #19