class

ScalewayDDNS::Updater

Inherits Reference < Object

Constants

EMPTY_DOMAIN_LIST = "Empty domain list, please check configuration variables."

Reported when no domain is configured.

MISSING_SECRET_KEY = "Empty secret key, please check configuration variables."

Reported when no secret key is configured.

RECORD_TYPES = {"ipv4" => "A", "ipv6" => "AAAA"}
ZONE_SEPARATOR = ':'

Separator between a record name and its explicit DNS zone in DOMAIN_LIST.

Constructors

new(config : Config)
Source

Instance methods

run

Runs update cycles until the process is terminated.

Source
update

Performs a single update cycle for every configured domain.

Source