Hello All
I am writing to bring to your attention an issue I am facing with the IP update feature in the OpenDNS dashboard. I would appreciate your assistance in resolving this matter.
To provide some context, I currently have a network setup with two public IP addresses: [xxx.xxx.xxx.xxx] and [yyy.yyy.yyy.yyy]. In order to update my IP addresses in the OpenDNS account, I have developed a simple Python script. The script utilizes an HTTP GET request with basic authentication to update the IP address.
URL = 'https://updates.opendns.com/nic/update'
USERNAME = <myusername>
PASS = <mypass>
basic = HTTPBasicAuth(USERNAME, PASS)
queryparams = { 'hostname':LABEL,
'myip' : ip }
response = requests.get(URL, params = queryparams, auth=basic)
Above resolves to URL
https://updates.opendns.com/nic/update?hostname=mynetwork&ip=yyy.yyy.yyy.yyy
It is worth noting that although the request is sent from [xxx.xxx.xxx.xxx], I deliberately set the myip parameter in the URL mentioned above to [yyy.yyy.yyy.yyy] because that's how I want. Also, my username has @ character (like username@domain.com). My password has - character (like password-123) and the network label does not have any special characters (it's alphanumeric without any space).
However, upon checking the OpenDNS dashboard, I have observed that the system disregards the myip parameter and sets the IP address to [xxx.xxx.xxx.xxx]. It seems that the IP address from the request header is being used instead, overriding the specified myip parameter.
I would like to inquire if you have encountered this behavior before and if there is any available remedy or workaround to ensure that the myip parameter is correctly honored in the OpenDNS dashboard.
Thank you for your attention to this matter. I look forward to your prompt response and assistance in resolving this issue.
Best regards,
Kunal Shah