Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to tell if a user on a site has a static IP?

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.

like image 261
mike Avatar asked Feb 08 '11 00:02

mike


People also ask

How do you tell if a device has a static IP?

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.

How do I find the static IP address of a website?

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.

How do I know if my public IP address is static?

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.


2 Answers

No there is not. This is information that is only found on that network.

like image 97
Daniel A. White Avatar answered Oct 21 '22 21:10

Daniel A. White


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.

like image 45
Jim Lewis Avatar answered Oct 21 '22 23:10

Jim Lewis