Disclaimer. In fact it should works. Sep 2018
If you are using hover.com once a day you may want export your dns zone file. But seems it is not available for now.
I've found some solutions:
https://help.hover.com/hc/en-us/community/posts/209217517-Zone-file-import-export
https://gist.github.com/toolbear/84b828d30442281861ee Tim Taylor script
Python >=3.6.5 approach: Install requests
pip install requests
Save to file and execute
import requests
import json
# Set you username and password
name = 'hover-username'
password = 'hover-password'
# Login
s = requests.Session()
r = s.post('https://www.hover.com/signin/auth.json',
data={'username': name, 'password': password})
# Check response
r.raise_for_status()
# Get raw json
response = s.get('https://www.hover.com/api/dns')
# Parse json and return json for each domain
json_response = json.loads(response.text)
for i in json_response['domains']:
print ( f'[ {i["domain_name"]} ]')
for e in i['entries']:
print(f'{e["name"]} {e["type"]} {e["content"]}')
print("="*25)Output:
=========================
[ domain1 ]
@ A 0.0.0.0
* A 0.0.0.0
mail CNAME mail.hover.com.cust.hostedemail.com
@ MX 10 mx.hover.com.cust.hostedemail.com
=========================
[ domain2 ]
@ A 0.0.0.0
* A 0.0.0.0
mail CNAME mail.hover.com.cust.hostedemail.com
6sazmcazdcbu CNAME gv-tsrdwcnleqr365.dv.googlehosted.com
@ MX 1 ASPMX.L.GOOGLE.COM
5 MX 5 ALT1.ASPMX.L.GOOGLE.COM
@ MX 5 ALT2.ASPMX.L.GOOGLE.COM
@ MX 10 ALT3.ASPMX.L.GOOGLE.COM
@ MX 10 ALT4.ASPMX.L.GOOGLE.COM
=========================