Howdy,
This bit of python claims it works but it does not update the dns. I put my username, token, domain name to update, and it's new IP and it does not return any errors.
import requests
# Replace with your info
hostname = "foo.com"
ip_address = "123.123.123.123"
token = "134567890"
username = "itsmedummy"
url = f"https://{username}:{token}@dynamic.zoneedit.com/auth/dynamic.html?host={hostname}&dnsto={ip_address}"
response = requests.get(url)
if response.status_code == 200:
print("DNS updated successfully.")
else:
print(f"Failed to update DNS. Status code: {response.status_code}")
print("Response:", response.text)
###############
I get the 200 return code but it does not update my dns. Also, is there a way to see an update history on your end? I am wondering if that would shed any light on what is going on.
Thank you!
This bit of python claims it works but it does not update the dns. I put my username, token, domain name to update, and it's new IP and it does not return any errors.
import requests
# Replace with your info
hostname = "foo.com"
ip_address = "123.123.123.123"
token = "134567890"
username = "itsmedummy"
url = f"https://{username}:{token}@dynamic.zoneedit.com/auth/dynamic.html?host={hostname}&dnsto={ip_address}"
response = requests.get(url)
if response.status_code == 200:
print("DNS updated successfully.")
else:
print(f"Failed to update DNS. Status code: {response.status_code}")
print("Response:", response.text)
###############
I get the 200 return code but it does not update my dns. Also, is there a way to see an update history on your end? I am wondering if that would shed any light on what is going on.
Thank you!