Apps/GeoContinentApp/README.md
A DNS App for Technitium DNS Server that returns continent-specific answers based on the client's geolocation continent.
dnsApp.configdefault entry when no continent match existsIDnsApplication, IDnsAppRecordRequestHandlerdnsApp.config is not used by this app.
This app depends on the geolocation database to determine the client's continent.
A MaxMind GeoIP2/GeoLite2 Country database in .mmdb format must be installed. The app includes the GeoLite2 version for trial. For production usage, it is required that you purchase the GeoIP2 database from MaxMind (https://www.maxmind.com/).
*.mmdb)*.mmdb)If the Country database is missing, this app cannot resolve the client continent and the app will throw errors instead of answering requests successfully.
.mmdb database from MaxMind..mmdb file without renaming it.Keep the database updated on a regular schedule by downloading the latest MaxMind release and updating it for the app.
The GeoContinent app only requires the Country database to map clients to continents. However, you may also install and maintain:
These optional databases are not required for continent-based responses in this app, but they are useful for the Autonomous System Number (ASN) based mapping feature and for selecting optimal EDNS Client Subnet scope prefix length value.
{
"EU": { },
"NA": { },
"AS1234": { },
"default": { }
}
The important part is the continent-key mapping. The exact payload format is interpreted by the app/runtime.
default when available.default is missing, unmatched clients may receive no app-specific answer.default entry if you need a fallback response.