turbobytes / geoipdb

GeoIP related related helper functions for TurboBytes stack
MIT License
0 stars 2 forks source link

Implement local override of ASN descriptions #13

Closed coolparadox closed 7 years ago

coolparadox commented 7 years ago

Sometimes the ASN description returned by third party databases is not optimal.

This is a request to make geoipdb capable of maintain a database of local descriptions of given ASNs.

sajal commented 7 years ago

I suggest using geoipdb collection in dnsdist database. The propose following object format :-

{"_id": "AS555", name: "The description"}

The geoipdb lib would take a *mgo.Collection during init, and if not nil then it will do the lookups against mongo.