-
-
Notifications
You must be signed in to change notification settings - Fork 211
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: Support defining records by dns zone format (#1360)
* feat: Support zonefile configuration for custom dns mapping * docs: Update configuration.md * Rename var to ok * Linter fixes * Remove hashes in test describe description * Implement PR comments; zoneFileMapping -> zone, initialize with proper sizes * Remove custom CNAME parsing * Utilize TTL defined in zone file * Link to wikipedia's example file * Test to confirm that a relative zone entry without an $ORIGIN returns an error * Write a test covering the $INCLUDE directive * Write a test confirming that a dns zone can result in more than 1 RR * Linting * fix: Use proper matchers in CustomDNS Zone tests; Update configuration.md description * Pull in config directory to support relative $INCLUDE * Added tests to ensure the ability to use both bare filenames as well as relative filenames when using the $INCLUDE directive * Shorten test description (Linting error) * Move Assignment of z.RRs to the end of the UnmarshallYAML function * Moved tests for relative $INCLUDE zones to config_test. Added test case when config param passed to blocky is a directory * Corrected test case to _actually_ test againt bare file names
- Loading branch information
Showing
8 changed files
with
359 additions
and
81 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.