Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Incorrect reference to templates that contain white space #321
If empty zone file is created (only containing NS records) and the template name contains white space (for example, "Test Template"), incorrect DNAME alias is inserted in zone file:
named-checkzone fails validating such zone by following error:
Renaming the template to "Test_Template" solves the issue.
You should probably disallow zone template names with white spaces or other special symbols or insert DNAME record with quotes.
Steps to reproduce this bug are following:
Thank you for your help!
Thank you for the steps. Even then I still had a hard time reproducing the error until I ticked the "Use DNAME Resource Records for Clones" fmDNS setting. It seems this setting is incorrectly being used for templates as it's only supposed to be used for clones. A fix for this should be included in the next release.