Commit 7812abba authored by Colin Shea's avatar Colin Shea

ensure that origin is absolute by appending a trailing dot

parent a6c8a176
......@@ -47,7 +47,7 @@ class ZoneGenerator
# Generates a single zone file
def generate_zone(file, domain)
zone = Zone.new(domain, @template_dir, @soa)
zone = Zone.new(domain + ".", @template_dir, @soa)
zone.send :eval_file, file
new_zonefile = zone.zonefile
......
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