-
-
Notifications
You must be signed in to change notification settings - Fork 214
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
Support DNS Zone File Syntax #1355
Comments
I'm a bit conflicted since we would need additional files (I like the "only one config" approach). How about we let the current config as-is, add an zonefile-include section and merge those internally? That way backward compatibility is ensured and no additional files are needed for simple setups but complex could be realized through zonefiles. |
I think we should just have the option be a string in the YAML, and if the user wants they just set that string to |
Another option using the suggested string entry would be to just input the zonefile as multiline string directly into the yaml. 🤔 |
I think that's a valid concern, but we can keep the simple mapping for A/AAAA.
Yeah that's what I was envisioning too :) |
Would support for DNS Zone files come with additional support for all DNS record types or would there still only be a subset of supported record types with helpful error messages output during zone file parsing? |
I think we can start with the existing subset ( |
The Zone parser already has an iterator methode |
In my opinion |
It was pointed out in #1352 that we could change DNS mappings from the custom YAML formatting to rely on DNS Zone File syntax instead.
Adapted from @ThinkChaos's comment:
This could be implemented using dns.ZoneParser which supports the standard zonefile format. This would also have the benefit of allowing to split the mapping into another file via
$INCLUDE
.Is this something that the project wants to move towards? Initial concerns would be the potential for new users who rely on private DNS entries not necessarily being familiar with the syntax. On the other hand, this is a standard syntax that can be linked to rather than maintaining custom syntax and documentation within this project.
The text was updated successfully, but these errors were encountered: