mirror of
https://github.com/cmur2/dyndnsd.git
synced 2026-11-25 13:51:36 +01:00
Use domain for $origin
This commit is contained in:
1 parent
bbf0c42141
commit
09f4afe99e
3 files changed
+7
-7
No files matched your search
@@ -2,10 +2,10 @@
|
||||
module Dyndnsd
|
||||
module Updater
|
||||
class CommandWithBindZone
|
||||
def initialize(config)
|
||||
def initialize(domain, config)
|
||||
@zone_file = config['zone_file']
|
||||
@command = config['command']
|
||||
@generator = Generator::Bind.new(config)
|
||||
@generator = Generator::Bind.new(domain, config)
|
||||
end
|
||||
|
||||
def update(zone)
|
||||
|
||||
Reference in new issue
Block a user