Is there a good way to be able to tell if a user has a static IP? I want to be able to ID which users that come to my site have static IPs.
If you see “Using DHCP” next to “Configure IPv4”, then your system uses a dynamic IP address. If the section says “Manually”, you have a static IP. If you prefer, you can always contact your ISP to get more information about your IP address and network type.
You can run nslookup this will work in both dos (windows command prompt) and linux terminal enviroments. Show activity on this post. Ping isn't always responded to, depending on firewall rules. If it is a domain name, use nslookup to give you the ip address.
Under system preferences, select Network and then “Advanced”, then go to TCP/IP. Under “Configure IPv4,” if you see MANUALLY, you have a static address. If you see USING DHCP, you have a dynamic address.
No there is not. This is information that is only found on that network.
As others have mentioned, there's no guaranteed way to tell whether a given IP address is statically or dynamically allocated.
You might be able to get 90% of the way there by leveraging the efforts of some of the anti-spam organizations out there -- for example, Spamhaus PBL, the "Policy Block List", is a database of IP address ranges that have been identified by the responsible ISPs as addresses that should not be direct sources of legitimate email. I suspect that the bulk of this list is going to be residential end users on dialup or consumer broadband services. This is only a heuristic -- I'm sure there are static IP blocks in the PBL, and probably plenty of dynamic IP addresses that aren't on it, but it's about as close as you're going to get without knowing each IP range owner's allocation policy.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With