Skip to content
Snippets Groups Projects
Commit 45742489 authored by Daniel Salzman's avatar Daniel Salzman
Browse files

tests-extra: don't generate CNAME during zone update via zone_generate

parent bff21e4f
No related branches found
No related tags found
No related merge requests found
......@@ -507,6 +507,11 @@ def main(args):
if UPDATE:
shutil.copyfile(UPDATE, in_fname)
# Disable additional CNAME generation
for idx, val in enumerate(RRTYPES):
if val[0] == 'CNAME':
RRTYPES[idx][2] = 0
outf = open(in_fname, "a")
if not UPDATE:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment