-
Notifications
You must be signed in to change notification settings - Fork 49
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
Round Robin DNS #2
Comments
Hello, Thanks for this detailled issue. For now freenom-dns-updater(fdu) does not handle round robin DNS.
Yes that's possible. The next update should bring a
Yes but there's an issue. So the user and I cannot rely on the freenom round robin record's index for multiple update call. As far as i know, freenom does not expose something like record id, record's creation date, ... which would be used to solve that problem. That's said, next update should bring a Regards |
Given the way the API handles the record list, your proposed solution is
more than satisfactory. It seems that someone who wants to do a round
robin update from a script should be able to get the list of records and
operate on the index based on that list, which is what I will probably
be doing for the machines I need to round robin, since they are all
remote to the machine that will be updating their records, and I really
don't have to touch their DNS that much. Thanks very much for the quick
response, and I look forward to the update.
|
In the DNS settings on the Freenom website, I can set up round robin DNS by adding multiple records using the same hostname. For example, in domain example.tk, I can add hostname robin with IP 1.2.3.4, and save it, and I see robin in my list of records that I can modify. Then I add robin again at the bottom with IP 5.6.7.8, and once I save, I get two records, both named robin, one with type A and target 1.2.3.4 and the other with type A and target 5.6.7.8. If I query DNS for the domain robin.example.tk, I will see that it has two addresses, 1.2.3.4 and 5.6.7.8. Then running
fdu record ls example.tk
I will see something like
{'name': 'ROBIN', 'target': '1.2.3.4', 'ttl': 3600, 'type': 'A'},
{'name': 'ROBIN', 'target': '5.6.7.8', 'ttl': 3600, 'type': 'A'},
First of all, if it's possible from the Freenom API, I need a way to add yet another round robin record, e.g. a third record called robin with type A and target 9.10.11.12 using fdu rather than the website. Additionally, if the API supplies an index or unique ID of some sort for the record list, I need a way to change the target of the second robin record rather than the first or the third. For example, I would like to be able to specify something like
fdu record add example.tk -n robin[2] -t A -a 7.8.9.10 -l 3600 -u
which would keep the first robin record with target 1.2.3.4 and the third robin record with target 9.10.11.12 unchanged, but would change the second robin record, which had the IP 5.6.7.8 to IP 7.8.9.10. If something like this can already be done, I would need some documentation to explain exactly how this is implemented, as I was unable to find it either here on Github or in the fdu help system. Thanks.
The text was updated successfully, but these errors were encountered: