<html><body bgcolor="#FFFFFF"><div>On 15 Jul 2011, at 20:28, James Courtier-Dutton <<a href="mailto:james.dutton@gmail.com">james.dutton@gmail.com</a>> wrote:<br><br></div><div></div><blockquote type="cite"><div><span>On 15 July 2011 19:21, Alain Williams <<a href="mailto:addw@phcomp.co.uk">addw@phcomp.co.uk</a>> wrote:</span><br><blockquote type="cite"><span>On Fri, Jul 15, 2011 at 07:17:55PM +0100, James Courtier-Dutton wrote:</span><br></blockquote><blockquote type="cite"><blockquote type="cite"><span>Hi,</span><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><span></span><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><span>I have being trying to track down a network performance problem.</span><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><span>I can ping some sites on the internet with a low ping time, and some</span><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><span>with higher ping times.</span><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><span>Is there a command line tool in Linux that I can put an IP address</span><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><span>into and it returns the location it.</span><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><span></span><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><span>For example, ping <a href="http://www.google.com">www.google.com</a> is quick, but ping <a href="http://www.facebook.com">www.facebook.com</a> is slow.</span><br></blockquote></blockquote><blockquote type="cite"><span></span><br></blockquote><blockquote type="cite"><span>       host <a href="http://www.facebook.com"><a href="http://www.facebook.com">www.facebook.com</a></a></span><br></blockquote><blockquote type="cite"><span>       curl <a href="http://freegeoip.appspot.com/xml/69.171.228.11"><a href="http://freegeoip.appspot.com/xml/69.171.228.11">http://freegeoip.appspot.com/xml/69.171.228.11</a></a></span><br></blockquote><blockquote type="cite"><span></span><br></blockquote><span></span><br><span>Thank you.</span><br><span>So, that proves that facebook does not have any UK servers.</span><font class="Apple-style-span" color="#000000"><font class="Apple-style-span" color="#0023A3"><br></font></font></div></blockquote><br><div>Not quite, it proves that the servers you checked were accessible via IPs which were registered at some point to a country which is not the UK. </div><div><br></div><div>As an aside, I like 'geoiplookup', available in Debian repos.</div></body></html>