Commit 45742489 authored by Daniel Salzman's avatar Daniel Salzman

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

parent bff21e4f
......@@ -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:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment