Skip to content
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

No geo provider configured #120

Open
praveenkumar2608 opened this issue Sep 12, 2020 · 2 comments
Open

No geo provider configured #120

praveenkumar2608 opened this issue Sep 12, 2020 · 2 comments

Comments

@praveenkumar2608
Copy link

praveenkumar2608 commented Sep 12, 2020

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": "[email protected]",
"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

@abh
Copy link
Owner

abh commented Sep 12, 2020 via email

@praveenkumar2608
Copy link
Author

praveenkumar2608 commented 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 up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants