abh / geodns

DNS server with per-client targeted responses
Apache License 2.0
1.37k stars 191 forks source link

when will geodns support ispDB with geoip2, any plan for that? #117

Open dongbenxipao opened 5 years ago

dongbenxipao commented 5 years ago

The lastest geodns only supports GeoIP2 if I remember right. But it only covers countryDB, cityDB and asnDB. The older version reads ip.dat file which makes it possible to locate the client ISP. With the ISP info, the DNS servers can provide more reliable DNS resolve service in some complex networks. Adding ispDB reader can make geodns more appealing, do you have any plan to support that?

abh commented 5 years ago

I'm not sure how you'd do targeting on the data that's in that database (that wouldn't just be ASN).

https://dev.maxmind.com/geoip/geoip2/geoip2-isp-csv-database/

dongbenxipao commented 5 years ago

In some networks, the connections among ISP are not good. So client request from one ISP should better scheduled to the servers in the same ISP. The DNS server support geo targets including ISP(not only country, city) is very important in such network environment. The maxmind does provide geoip-isp data, but the latest geodns doesn't support reading geoip-isp data. So, maybe i have to add some code to fix this if no plan to do this.

abh commented 5 years ago

How would you use the ISP data differently than the ASN database?

abh commented 4 years ago

@dongbenxipao did doing this with ASNs work for you?