-
-
Notifications
You must be signed in to change notification settings - Fork 486
How does an authoritative server resolve a domain name based on a specified IP segment? #1296
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
Thanks for asking.
If you wish to resolve a domain based on client's subnet then you need to use the Split Horizon DNS app in your zone.
It uses MaxMind database to find out the country and then answers based on it. The ASN database used by the app is just used to identify the client subnet for use with EDNS Client Subnet. |
I haven't figured it out yet with the help of chatgpt. Can you write a tutorial on this? |
I can't resolve Geo Country, is this wrong? Resolve IP address based on ASN App Name: Geo Country
|
The Geo Country app uses ISO country codes (like IN, CN, etc) with the config so using ASN in its place will not work. The Split Horizon app supports only CIDR network addresses only. There is no support for ASN based config available yet. |
Split Horizon CIDR adds too much text limit, prompt:
|
Is the above json config being used in the APP record data or in the app's main config? In any case, putting in a file URL will not work. Its expected that you put in network address like in this format |
Split Horizon CIDR Input 2000 192.168.0.0/24 APP record data to save, prompt: Error! Error - URI is too long |
Thanks for the feedback. Please share the complete error log for this event which you will find in the Logs > View Logs section on the DNS admin panel. |
Can you add a plugin for ASN parsing configuration? |
Yes, this can be added as a separate DNS app. But it will need you to buy MaxMind license. |
MaxMind provides free GeoLite ASN files, can't I use them? |
The free database that MaxMind provides contains only a small set of data and is useful only for testing. If you wish to use this in production then you will need to buy the full license so that you get the full database. Yes, will get this app added in later release. |
Thumbs up to you and Technitium DNS Server, you guys are awesome |
Keeping the issue open so that I can post when the app is available. |
Can the ASN parsing plug-in consider calling ASN: CSV files? Maxmind provides GeoLite ASN: CSV Format files that can be edited, but .mmdb files cannot be edited. Can Technitium DNS Server call ASN: CSV instead of .mmdb? |
The library that MaxMind provides support only mmdb format. If you need this for only a small set of ASNs then you can just define them in the app's main config. There use the custom network option to put in ASN name and add the network addresses it contains. You can then use the name in main config with the APP record jjson config. |
The Technitium API api/zones/records/delete-records endpoint returns 200 OK but does not actually delete the record, nor does it update existing records |
Thanks for asking. The correct API path is |
1、How does an authoritative server resolve a domain name based on a specified IP segment?
2、In addition, how does Geo Country perform domain name resolution based on ASN?
The text was updated successfully, but these errors were encountered: