[GH-ISSUE #120] No geo provider configured #372

Open
opened 2026-03-13 14:48:17 +03:00 by kerem · 2 comments
Owner

Originally created by @praveenkumar2608 on GitHub (Sep 12, 2020).
Original GitHub issue: https://github.com/abh/geodns/issues/120

Hi,

I am trying to configure GeoDNS. I have build the geoDNS from source and downloaded GeoLite2.mmdb databases under '/usr/share/GeoIP/', I have specified the same directory under geodns.conf.

When I run the server with -checkconfig=true, I am getting my zone does not configure with Geo Provider. I have set targets in my zone file.

Please let me know what could be the problem and also verify my zone config and let me know will this configuration works?

{
"serial": 108,
"ttl": 30,
"max_hosts": 2,
"logging": {},
"targeting": "country continent @ regiongroup region ip asn",
"contact": "accl@praveentest.com",
"data": {
"": {
"ns": {
"ns1.praveentest.com.": null,
"ns2.praveentest.com.": null
},
"mx": [
{
"preference": 20,
"mx": "mx2.praveentest.com.",
"weight": 0
},
{
"preference": 10,
"mx": "mx.praveentest.com.",
"weight": 1
}
]
},
"insouth-test": {
"a": [
[
"1.1.1.10",
10
],
[
"1.1.1.43",
10
]
]
},
"innorth-test": {
"a": [
[
"1.1.1.46",
10
],
[
"1.1.1.210",
10
]
]
},
"uswest-test": {
"a": [
[
“2.2.2.213",
10
],
[
“3.3.3.217",
10
]
]
},
"accl": {
"cname": "download.praveen.com.",
"ttl": 30
},
"accl.tamilnadu": {
"cname": "insouth-test.praveentest.com.",
"ttl": 30
},
"accl.karnataka": {
"cname": "insouth-test.praveentest.com.",
"ttl": 30
},
"accl.maharashtra": {
"cname": "innorth-test.praveentest.com.",
"ttl": 30
},
"accl.us-west": {
"cname": "uswest-test.praveentest.com.",
"ttl": 30
}
}
}
}

@abh @kisielk

Originally created by @praveenkumar2608 on GitHub (Sep 12, 2020). Original GitHub issue: https://github.com/abh/geodns/issues/120 Hi, I am trying to configure GeoDNS. I have build the geoDNS from source and downloaded GeoLite2.mmdb databases under '/usr/share/GeoIP/', I have specified the same directory under geodns.conf. When I run the server with -checkconfig=true, I am getting my zone does not configure with Geo Provider. I have set targets in my zone file. Please let me know what could be the problem and also verify my zone config and let me know will this configuration works? > { "serial": 108, "ttl": 30, "max_hosts": 2, "logging": {}, "targeting": "country continent @ regiongroup region ip asn", "contact": "accl@praveentest.com", "data": { "": { "ns": { "ns1.praveentest.com.": null, "ns2.praveentest.com.": null }, "mx": [ { "preference": 20, "mx": "mx2.praveentest.com.", "weight": 0 }, { "preference": 10, "mx": "mx.praveentest.com.", "weight": 1 } ] }, "insouth-test": { "a": [ [ "1.1.1.10", 10 ], [ "1.1.1.43", 10 ] ] }, "innorth-test": { "a": [ [ "1.1.1.46", 10 ], [ "1.1.1.210", 10 ] ] }, "uswest-test": { "a": [ [ “2.2.2.213", 10 ], [ “3.3.3.217", 10 ] ] }, "accl": { "cname": "download.praveen.com.", "ttl": 30 }, "accl.tamilnadu": { "cname": "insouth-test.praveentest.com.", "ttl": 30 }, "accl.karnataka": { "cname": "insouth-test.praveentest.com.", "ttl": 30 }, "accl.maharashtra": { "cname": "innorth-test.praveentest.com.", "ttl": 30 }, "accl.us-west": { "cname": "uswest-test.praveentest.com.", "ttl": 30 } } } } > @abh @kisielk
Author
Owner

@abh commented on GitHub (Sep 12, 2020):

What do the logs say?

<!-- gh-comment-id:691500007 --> @abh commented on GitHub (Sep 12, 2020): What do the logs say?
Author
Owner

@praveenkumar2608 commented on GitHub (Sep 12, 2020):

@abh Thanks for your quick reply. It was permission issue for the .mmdb files. Now this is working like a charm. One other problem I could see is the chained CNAME is not resolving to the IP address.

Also, say for an example if I a CNAME which I want to associate to multiple regions like (IN-TN, IN-KA, IN_AP, IN-KL), I couldn't find the option. I have to create individual CNAME for each region like mentioned below. Is there a way to change the associate a cname to a list of regions.

"accl.tamilnadu": {
"cname": "insouth-test.praveentest.com.",
"ttl": 30
},
"accl.karnataka": {
"cname": "insouth-test.praveentest.com.",
"ttl": 30
},

<!-- gh-comment-id:691504647 --> @praveenkumar2608 commented on GitHub (Sep 12, 2020): @abh Thanks for your quick reply. It was permission issue for the .mmdb files. Now this is working like a charm. One other problem I could see is the chained CNAME is not resolving to the IP address. Also, say for an example if I a CNAME which I want to associate to multiple regions like (IN-TN, IN-KA, IN_AP, IN-KL), I couldn't find the option. I have to create individual CNAME for each region like mentioned below. Is there a way to change the associate a cname to a list of regions. "accl.tamilnadu": { "cname": "insouth-test.praveentest.com.", "ttl": 30 }, "accl.karnataka": { "cname": "insouth-test.praveentest.com.", "ttl": 30 },
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/geodns#372
No description provided.