Yep! Already checked what it needs. It shouldn't need too much time to write a util that downloads and generates a tinydns format file. You then add the geoip virtual domain to your dnscache server setting and you are set. I will think through the nomenclature after a few coffees, but it will probably look similar to a reverse lookup:
IP=1.2.3.4 check 4.3.2.1.geo.ip in dns answer is a CNAME (or alike) pointing to: uk.geo.ip This kind of approach makes it usable with other applications as well, not just spamdyke. Regards Bgs Andras Korn wrote: > On Tue, May 27, 2008 at 10:32:22AM +0200, Bgs wrote: > > >> I think it would be better to put geoip in a reverse DNS setup. >> Doesn't need any special software. Just generate a reverse DNS file for >> tinydns (most qmail setups have it installed anyway). This way lookup >> caching is automatically done, no need to change spamdyke and the same >> system can be used for other purposes as well. The only change needed in >> spamdyke would be the geoip dns lookup which won't be a big hassle. (The >> DNS answer would explicitly contain the geo ip, AS, etc. info). If there >> is enough demand for it I can do the DNS part. Sam should be able to do >> > > I would certainly be interested in something like this. > > You mean you'd dump the geoip database, then convert it into a format usable > by tinydns? > > Andras > > _______________________________________________ spamdyke-users mailing list [email protected] http://www.spamdyke.org/mailman/listinfo/spamdyke-users
