1
0
mirror of https://github.com/cmur2/dyndnsd.git synced 2024-12-22 00:54:22 +01:00

Allow additional raw zone content for Bind generator

This commit is contained in:
cn 2013-04-27 16:12:43 +02:00
parent a8d5c0bd93
commit 99111ce459

View File

@ -7,6 +7,7 @@ module Dyndnsd
@ttl = config['ttl'] @ttl = config['ttl']
@dns = config['dns'] @dns = config['dns']
@email_addr = config['email_addr'] @email_addr = config['email_addr']
@additional_zone_content = config['additional_zone_content']
end end
def generate(zone) def generate(zone)
@ -22,6 +23,8 @@ module Dyndnsd
out << "#{name} IN A #{ip}" out << "#{name} IN A #{ip}"
end end
out << "" out << ""
out << @additional_zone_content
out << ""
out.join("\n") out.join("\n")
end end
end end