abh / geodns

DNS server with per-client targeted responses

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Split all continents in regions

daknob opened this issue · comments

The United States of America is split in three parts, namely us-west, us-central, and us-east. It could be beneficial to add this support in the continent level for all continents. For example, europe-west can have Portugal, Spain, etc.

I can do this by editing the /countries/regiongroups.go which I think will enable this functionality. Is this feature wanted? Should I implement this and send a Pull Request?

that'd also require to change the if country != "us" to if country != "us" && region != "europe", I think, right? I'm not sure whether that will work, though, as I never dealt with anything written in golang before