raise DDNSUpdateError
+class DDNSProviderDynU(DDNSProviderDynDNS):
+ INFO = {
+ "handle" : "dynu.com",
+ "name" : "Dynu",
+ "website" : "http://dynu.com/",
+ "protocols" : ["ipv6", "ipv4",]
+ }
+
+
+ # Detailed information about the request and response codes
+ # are available on the providers webpage.
+ # http://dynu.com/Default.aspx?page=dnsapi
+
+ url = "https://api.dynu.com/nic/update"
+
+ def _prepare_request_data(self):
+ data = DDNSProviderDynDNS._prepare_request_data(self)
+
+ # This one supports IPv6
+ data.update({
+ "myipv6" : self.get_address("ipv6"),
+ })
+
+ return data
+
+
class DDNSProviderEasyDNS(DDNSProviderDynDNS):
INFO = {
"handle" : "easydns.com",
url = "https://www.ovh.com/nic/update"
def _prepare_request_data(self):
- data = {
- "hostname" : self.hostname,
- "myip" : self.get_address("ipv4"),
- "system" : "dyndns",
- }
+ data = DDNSProviderDynDNS._prepare_request_data(self)
+ data.update({
+ "system" : "dyndns",
+ })
+
+ return data
class DDNSProviderRegfish(DDNSProvider):
url = "https://update.spdns.de/nic/update"
+class DDNSProviderTwoDNS(DDNSProviderDynDNS):
+ INFO = {
+ "handle" : "twodns.de",
+ "name" : "TwoDNS",
+ "website" : "http://www.twodns.de",
+ "protocols" : ["ipv4",]
+ }
+
+ # Detailed information about the request can be found here
+ # http://twodns.de/en/faqs
+ # http://twodns.de/en/api
+
+ url = "https://update.twodns.de/update"
+
+ def _prepare_request_data(self):
+ data = {
+ "ip" : self.get_address("ipv4"),
+ "hostname" : self.hostname
+ }
+
+ return data
+
+
class DDNSProviderVariomedia(DDNSProviderDynDNS):
INFO = {
"handle" : "variomedia.de",
"hostname" : self.hostname,
"myip" : self.get_address(self.proto)
}
+
+ return data