What country is the IP address from?
If you want to block all traffic from the IP address that your visitor is coming from then you have to go to xtranet.yourdomain.com in your cPanel and add a new block in there. This page also has a way to report people and it could be done anonymously.
Then on your server or DNS you would have to add an entry for the IP. You can set it to block all traffic, the web server or any port. For example to block www.com:80 you would add:
I have to agree that not blocking certain IPs, while the majority of the traffic comes from legit places (or at least most of it), could possibly cause issues for your site. Also I don't know how much the IP address changes as a user logs into your website, although you may not know which IP addresses the visitor has already used for logging in.
This is definitely something that should be looked at, but do keep in mind that IANAL, so if you have any concerns about the legality of this, please contact a lawyer before going forward. And one other thing, if you are using cPanel, you can easily change your cPanel configuration to allow blocked ports by just going into your cPanel and entering the following commands in the area where you enter commands. Code: xtranet.com/ip/config/blockports That will show you which ports are being blocked and which ones are being allowed to pass. But, if you look at the article, you'll notice the "blocking" is for a particular IP only. I think you're thinking "if we block the IP it's all good". If you look at what they're doing, they're "blocking" the port 80 from being able to connect to the IP. If that IP doesn't connect to the port, what do they expect? The whole point of a firewall is to be able to define who can use what ports. If you "block" a port for every IP, why would you expect anyone to try and connect to it? And, you'll notice the article doesn't go into much detail of the ports it will let through.
So, that's my question, what will happen if someone connects to the blocked port? Will there be an error? Thanks for your insight!
Can you determine zip code by IP address?
We have a web application that has two versions, a production version and a dev version. The dev version uses a different IP address than the production version. We can use IP addresses to figure out which is which, but we also need to know which is which to send out emails. If we use the same IP address in the dev version, our emails will go to both the dev and production versions.
My research indicates that a reverse DNS lookup can tell us the zip code of the user who sent the email. Is this true? I'd like to confirm if a reverse lookup of the IP address of an email can provide the location of the sender. Jill Nov 7 '12 at 21:22. The IP address of a mail message will usually contain enough information to be able to do a reverse DNS lookup. A good example of that is the following email where I've provided the original source, the IP address and the result of the DNS lookup: If you're worried about the reliability of the DNS lookup, you should also know that many domains don't implement the reverse lookup feature (most Google Apps accounts don't) so it might not work in all cases. Cody GrayNov 7 '12 at 23:25. 5 Answers.
I don't think the IP address alone will be sufficient to determine location. You'll want to use other factors. For instance, someone who is sending email from their home computer may very well be in the US, whereas someone who is sending from a business ISP will probably be in another country.
In order to get the country, the only thing you really need is the ISP. Look for the last part of the IP address in brackets, eg 192.168.5 (in CIDR notation, the first part is the network, the second part is the subnet, and the last part is the host).
That's a lot of factors, and not all ISPs are the same. Some ISPs (eg Google Apps) do block access to DNS servers (others don't). Also, some ISPs will block access to certain websites. As such, even if you can use DNS to find the country, it may not always be reliable.
The way I would approach this problem would be to make two different mail systems.
Can you tell the country from an IP address?
Not without the geolocation API, which is coming to Internet Explorer in 2023.
While you might think that knowing the location of someone visiting your site would be pretty important, there's a pretty simple explanation for why it isn't right now. Internet Explorer 11 supports a new Geolocation API that lets web developers access the GPS coordinates of someone's computer (or at least, the city that is the closest to their computer).
And while many of you are probably asking "Why would I want to know where my users are?" I can think of three reasons: The first reason is simple and selfish. If you're building a service that allows users to post comments or upload photos, you could use this data to help you provide better tools for displaying those comments or photos. There are a number of free, public-facing tools that let you use Google Earth to visualize Flickr photos, for example, and I'd be surprised if there wasn't something similar for user-generated comments on a site like Digg.
Second, this technology could be used to build an iPhone app that uses Google Earth's built-in map capabilities to automatically show nearby restaurants. For example, if you're near a certain restaurant, you could just pull up your phone and view a map of its location. This is currently possible with Google Maps on the iPhone, but you can't actually see how many customers are using it. With the geolocation API, you could get more detailed data about where people are going and then suggest other restaurants near them based on the data.
Third, it can be used in a more altruistic manner. Sites like Citysearch and Yelp are using the location data they receive from users to build a more accurate database of local businesses. You could use this same data to build a public-facing map that lets people search for nearby businesses and then tell their friends about them.
In 2023, Microsoft's IE browser will include a built-in version of the geolocation API that is powered by Google. It will only work in Internet Explorer and won't be available in any of the other browsers currently in use.
As for what browsers will support it, well, I'll leave that up to you. But given that it's already been supported in Firefox for some time and is fairly easy to add to a page, I would assume that Firefox and Safari support it now.
How do I find a location using an IP address?
I'm looking for an IP address for a particular location. There are probably multiple methods of doing this, I'd like to know which is the best way.
Is there a website/API where I can get a location by IP address? Would I use Google Maps? Thanks! There are several good and free resources for this. Goonooge IP Geocoding API: Geocoder. Geocoding API returns information about geographical points using the. geocoding API and Google's reverse geocoding service. To perform reverse geocoding, you provide the address or coordinates of a point. in the world as input to the API. The API will then return latitude, longitude, and other information associated with that address. (A latitude and longitude is sometimes called a geocode.) The following code demonstrates basic usage of the. Geocoder.js client library.
Var geocoder;. Var map;. Function initMap() );. var geocoder = new google.maps.Geocoder();
Related Answers
Which coupon for Windscribe do customers use the most?
I've been with Windscribe for a few years now....
Which type of promo codes are available for Netflix right now?
This article shows you all of the currently...
Which coupon for Windscribe do customers use the most?
Windscribe is a free VPN service that offers 50GB of data per month. You can ge...