cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
1620
Views
1
Helpful
7
Replies

Manual Network/IP Update

JayAgeNC
Level 1
Level 1

I am experiencing problems with the OpenDNS Updater.
   
The most recent section of the log.txt shows the following:
 -------- starting
sent ip update for user 'redacted-for-privacy@outlook.com', response: 'nohost' url: /nic/update?token=redacted-for-privacy&v=2&hostname=redacted-for-privacy host: updates.opendns.com
CheckForSoftwareUpgrade()
  
The OpenDNS Dashboard shows a different/incorrect IP address for the network/label/hostname, so it is clear that the IP address has not been updated, and therefore filtering won't work.

The file settings.dat contains the following data:
{
"user_name": "redacted-for-privacy@outlook.com",
"unique_id": "redacted-for-privacy",
"token": "redacted-for-privacy",
"hostname": "redacted-for-privacy",
"network_id": "redacted-for-privacy",
"user_networks_state": "unsok",
"run_hidden": "1",
"disable_nagging": "1",
"dns_o_matic": "1"
}

...where the email address and hostname match those found in the log.txt file.
  
Online, I found that IP can be updated manually using the URL https://updates.opendns.com/nic/update?hostname=NetworkLabel, but this is incomplete information, as I am getting a "badauth" response.
  
I hope there is some command I can run remotely from PowerShell on the machine to force OpenDNS to update the IP address for the used hostname. 
 
Could you please provide me with a PowerShell command or similar type of code to update the network IP manually?

Thanks.

7 Replies 7

reham1
Cisco Employee
Cisco Employee

Hello,

 

Can you try updating your router/application to send updates to updates.dnsomatic.com using port 443 ( https://updates.dnsomatic.com )? We no longer allow updates to this service using port 80.


In addition, there are a few characters that cannot be used in passwords used in the Dynamic IP Updater Client. These characters include:^, &, , ~, `, and %. Please change your OpenDNS account password so you don't include any of non-alphanumeric characters: https://dashboard.opendns.com/myaccount/password

As well, please also check to make sure that the system time and time zone are correct on your computer.

 

You mentioned that there are a few characters that cannot be used in passwords used in the Dynamic IP Updater Client. The list you provided (^, &, , ~, `, and %) shows a missing character between two commas. Is a hashtag or an at-sign also one of the restricted characters for passwords? Please clarify. Thanks!

dig
Cisco Employee
Cisco Employee

You can steal some PowerShell from the Umbrella Knowledge Base, the API is shared between Umbrella and OpenDNS today:

https://support.umbrella.com/hc/en-us/articles/360001200783-How-to-Dynamic-Networks-and-PowerShell

That's a great start. Thanks.

ws24
Level 1
Level 1

I wrote a DNS-O-Matic updater for Windows that provides an easy-to-use installer:

https://github.com/Bill-Stewart/DNSOMaticUpdater

 

Is obtaining of public IP address necessary? Wouldn't the system update it with the client's IP address (from the HTTP request) if no value is provided (myip=&) in the query string?

dig
Cisco Employee
Cisco Employee

Correct, the "myip" parameter is not required when calling this API endpoint.

Clients really only need to query for their own IP address in order to know if it's been recently changed by their ISP, so they know when to send a new update to the API. This API and others using the Dyn format are likely to rate-limit you if you keep spamming IP updates and your IP hasn't changed.