I said geolocation only needs an ip address. They can get your address from any means that you uses to connect to them whether that be dns lookups or connecting to their web servers. Who said anything about "to be good"? The do cdn to deliver content to their customers faster. Say there's two websites with the same kind of content, one takes 5 seconds to load and the other takes 30 seconds to load, which would you rather visit?