mirror of
https://github.com/cmur2/dyndnsd.git
synced 2025-08-07 22:33:55 +02:00
Use domain for $origin
This commit is contained in:
@@ -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