Resolve IP to Hostname and store for Statistics
-
We just installed the WP statistics plugin on our upcoming Intranet server and so far we like it, a lot.
However, since we are most probably only going to allow access to the Intranet from internal IP:s I wonder if it is possible for WP Statistics to do a lookup towards one of our internal DNS:s for IP to hostname translation, instead of using GeoIP.
Since we use DHCP we’d also need this hostname info to be stored for that IP in the DB at the time of the lookup and then do a new lookup the next time the same IP shows up. This is of course since someone else might be using that IP the next time WP Statistics see it.
It would be excellent if WP Statistics could use TTL of the hostname entry to avoid frequent lookups, but better to check to may times than to few times. At least for us.
I asked GeoIP if they could do something for us, but they said probably not.
So, is this possible to do or does anyone have any other suggestion as to how we can achieve this?
Thank you in advance
- The topic ‘Resolve IP to Hostname and store for Statistics’ is closed to new replies.