-
Notifications
You must be signed in to change notification settings - Fork 418
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
IGNORE doesn't work with providers that don't set RecordConfig.Name #312
Comments
This is fixed with PR #313 . |
Part of the refactoring done last month was to eliminate the .Name field and replace it with getters/setters. Has this fixed this issue? (or made it worse?) |
The refactor changed nothing to this issue. I fixed this issue so that the code uses So, you can either close this issue, or I can rewrite the |
Please rewrite it to use GetLabel(). Eventually we'd like to unexport .Name and .Target entirely. |
anything left to do? |
@tlimoncelli no, you can close this issue. |
I just discovered that some (most?) providers never sets
RecordConfig.Name
for existing record, unlike what I did in the OVH provider (coincidentally I'm only testing with this provider).Unfortunately, the #300 PR adding the IGNORE directive just test on the
Name
, not theNameFQDN
. I'm going to push a bug fix ASAP for this issue.But a quick question, shouldn't all provider fill the
Name
field along with theNameFQDN
field?The comment in https://github.com/StackExchange/dnscontrol/blob/master/models/dns.go#L61 as I read it seems to imply it should always exist.
The text was updated successfully, but these errors were encountered: