DyFi is a provider from Finland that only allows to point dynamic
DNS records to IP addresses that are registered in Finland.
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
domopoli.de
dtdns.com
duckdns.org
domopoli.de
dtdns.com
duckdns.org
dyndns.org
dyns.cx|net
dynu.com
dyndns.org
dyns.cx|net
dynu.com
raise DDNSInternalServerError(_("DNS error encountered"))
elif output == "badagent":
raise DDNSBlockedError
raise DDNSInternalServerError(_("DNS error encountered"))
elif output == "badagent":
raise DDNSBlockedError
+ elif output == "badip":
+ raise DDNSBlockedError
# If we got here, some other update error happened.
raise DDNSUpdateError(_("Server response: %s") % output)
# If we got here, some other update error happened.
raise DDNSUpdateError(_("Server response: %s") % output)
url = "https://www.duckdns.org/nic/update"
url = "https://www.duckdns.org/nic/update"
+class DDNSProviderDyFi(DDNSProtocolDynDNS2, DDNSProvider):
+ handle = "dy.fi"
+ name = "dy.fi"
+ website = "https://www.dy.fi/"
+ protocols = ("ipv4",)
+
+ # Information about the format of the request is to be found
+ # https://www.dy.fi/page/clients?lang=en
+ # https://www.dy.fi/page/specification?lang=en
+
+ url = "http://www.dy.fi/nic/update"
+
+ # Please only send automatic updates when your IP address changes,
+ # or once per 5 to 6 days to refresh the address mapping (they will
+ # expire if not refreshed within 7 days).
+ holdoff_days = 6
+
+
class DDNSProviderDynDNS(DDNSProtocolDynDNS2, DDNSProvider):
handle = "dyndns.org"
name = "Dyn"
class DDNSProviderDynDNS(DDNSProtocolDynDNS2, DDNSProvider):
handle = "dyndns.org"
name = "Dyn"