1
0
mirror of https://github.com/cmur2/dyndnsd.git synced 2025-06-26 12:30:18 +02:00

Use domain for $origin

This commit is contained in:
cn
2013-04-27 15:08:36 +02:00
parent bbf0c42141
commit 09f4afe99e
3 changed files with 7 additions and 7 deletions

View File

@ -119,7 +119,7 @@ module Dyndnsd
config = YAML::load(File.open(config_file, 'r') { |f| f.read })
db = Database.new(config['db'])
updater = Updater::CommandWithBindZone.new(config['updater']['params']) if config['updater']['name'] == 'command_with_bind_zone'
updater = Updater::CommandWithBindZone.new(config['domain'], config['updater']['params']) if config['updater']['name'] == 'command_with_bind_zone'
responder = Responder::DynDNSStyle.new
app = Daemon.new(config, db, updater, responder)