mirror of
https://github.com/cmur2/dyndnsd.git
synced 2025-08-09 04:48:39 +02:00
Compare commits
2 Commits
Author | SHA1 | Date | |
---|---|---|---|
![]() |
b79c13217d | ||
![]() |
99111ce459 |
@@ -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
|
||||||
|
@@ -1,4 +1,4 @@
|
|||||||
|
|
||||||
module Dyndnsd
|
module Dyndnsd
|
||||||
VERSION = "0.0.2"
|
VERSION = "0.0.3"
|
||||||
end
|
end
|
||||||
|
Reference in New Issue
Block a user