tag:blogger.com,1999:blog-4361733293216582854.post8460700623430096025..comments2024-01-24T23:36:45.356-08:00Comments on Adrian Chadd's Ramblings: GeoIP backend, or "reinventing the wheel"Adrianhttp://www.blogger.com/profile/17496219706861321916noreply@blogger.comBlogger4125tag:blogger.com,1999:blog-4361733293216582854.post-45213272179170461332009-03-17T22:49:41.827-07:002009-03-17T22:49:41.827-07:00Have you checked this geoipdns http://code.google....Have you checked this geoipdns http://code.google.com/p/geoipdns/ ? <br>I wrote a geodns for myself yesterday which is based on python twisted. I used lat, long to find neareast ip.Yejunnoreply@blogger.comtag:blogger.com,1999:blog-4361733293216582854.post-53385417227535573462009-03-18T11:33:23.260-07:002009-03-18T11:33:23.260-07:00Cute. Its djbdns based, no?A large motivation behi...Cute. Its djbdns based, no?<br><br>A large motivation behind using powerdns and the pipe-backend is to try and make things modular and easy to modify.<br><br>I'm also trying to reuse code modules as much as possible - embedding python inside a busy C application is possible but tricky. :)<br><br>But cool. Where are you getting the lat/long details for IPs? I'd like to compare that against the nerd.dk geoip list.Adrianhttp://www.blogger.com/profile/17496219706861321916noreply@blogger.comtag:blogger.com,1999:blog-4361733293216582854.post-64562613048095074382009-03-18T11:47:01.907-07:002009-03-18T11:47:01.907-07:00There is also a perl geo dnshttp://geo.bitnames.co...There is also a perl geo dns<br><br>http://geo.bitnames.com/<br><br>Maxmind's city database has lat/long.Yejunnoreply@blogger.comtag:blogger.com,1999:blog-4361733293216582854.post-32144224474608365082009-03-18T11:57:24.665-07:002009-03-18T11:57:24.665-07:00I looked at the cpan.org geoip dns server actually...I looked at the cpan.org geoip dns server actually.<br><br>I may end up migrating to that if I reach limits on the pipebackend powerdns infrastructure. It shouldn't be difficult to do.<br><br>My next trick is to finish the bgp query daemon so various modules can do BGP lookups without each having a full table in memory.<br><br>I really need to get all of this stuff wrapped up and released..Adrianhttp://www.blogger.com/profile/17496219706861321916noreply@blogger.com