]> git.ipfire.org Git - people/ms/ddns.git/commitdiff
Merge branch 'strato-dep-mx'
authorStefan Schantl <stefan.schantl@ipfire.org>
Wed, 4 Mar 2015 19:40:25 +0000 (20:40 +0100)
committerStefan Schantl <stefan.schantl@ipfire.org>
Wed, 4 Mar 2015 19:40:25 +0000 (20:40 +0100)
src/ddns/providers.py

index 9cec15a8e6c4bb6d55177dffecc8d602528ceb9a..5f78cfcb0c2deb5a655bb056555b138db022f0d8 100644 (file)
@@ -1411,6 +1411,15 @@ class DDNSProviderStrato(DDNSProtocolDynDNS2, DDNSProvider):
 
        url = "https://dyndns.strato.com/nic/update"
 
+       def prepare_request_data(self, proto):
+               data = DDNSProtocolDynDNS2.prepare_request_data(self, proto)
+               data.update({
+                       "mx" : "NOCHG",
+                       "backupmx" : "NOCHG"
+               })
+
+               return data
+
 
 class DDNSProviderTwoDNS(DDNSProtocolDynDNS2, DDNSProvider):
        handle    = "twodns.de"