-
Notifications
You must be signed in to change notification settings - Fork 29
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
Question: DNS Type for resource #54
Comments
Unfortunately that is not possible. Please see the docs on static records here, which the provider is using behinds the scenes. |
Thanks for your quick reply. |
@ddelnano The official doc on static records seems to indicate this is possible to specify a record type, so maybe this has changed recently? Being able to manage TXT or SRV records would be useful for example. |
From my reading of the release notes, it seems this was supported in v6.47. I thought for sure I didn't see it in the docs when I checked in December, but it does appear that this might be possible now! I gave the implementation a try, but it's not clear to me how the value of the non A records are supposed to be passed to the API. The existing
So while the mikrotik documentation now says that it's supported, I'm not sure what mikrotik command would result in a successful DNS record. |
I think the argument name depends on the record type, for example the TXT type would use
|
@theblop thanks for pointing this out. That wasn't clear to me from the documentation. This should be possible then. |
It may not be easy to do a generic "dns_record" resource since the arguments change depending on the type. Maybe we should have different resources by type if it's not easy to have optional arguments in the resource... |
Is it possible to have the ability to add a DNS record type at the mikrotik_dns_record resource?
The text was updated successfully, but these errors were encountered: