badauth being received badauth being received

Topic: badauth being received

Post badauth being received
by Brian Miller on Friday, January 1, 2016

I have been racking my brain on using this service. If I configure a host WITH a location, I can update my IP with the location parameter in the URL. However, I am using OpenWrt on my router, and really do not want to change the standard scripts that are delivered with the OS as I don't want to keep up with the changes on subsequent upgrades. The scripts do not allow for an additional parameter, so I am stuck with only username, password, hostname and IP. If I use the location parameter and provide it in place of the hostname (to keep their script intact), I can update the IP, but other parts of the script break which causes false errors and more updates than necessary. Is there a way I can see the logs on the server side? Or can you see if I am passing an invalid URL. Thanks.

Reply with quote | Report
Post Re: badauth being received
by timothytw on Tuesday, January 5, 2016

Here is the update URL we received:

GET /nic/update?hostname=753router.brianandbj.org&myip=174.56.139.141&username=****&password=****&location=753router HTTP/1.1
Host: api.dynu.com
Connection: keep-alive
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_11_2) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/47.0.2526.106 Safari/537.36
Cache-Control: no-cache
Authorization: Basic YWRtaW46MTIzNDU=
Accept: */*
DNT: 1
Accept-Encoding: gzip, deflate, sdch
Accept-Language: en-US,en;q=0.8
Cookie: _ga=GA1.2.1526770110.1451162208


If you want to update the IP address for 753router.brianandbj.org, here are a few ways you can do it:

1. Add 753router as an alias name under brianandbj.org and update using the following URL:

api.dynu.com/nic/update?hostname=brianandbj.org&alias=753router&password=yourpassword

2. Add 753router as an alias name under brianandbj.org and give it a location name such as 753 and update using the following URL:

api.dynu.com/nic/update?username=yourusername&password=yourpassword&location=753

3. Sign up for dynamic DNS service for 753router.brianandbj.org separately at https://www.dynu.com/en-US/ControlPanel/AddDDNS with option 2 and update using the following URL:

api.dynu.com/nic/update?hostname=753router.brianandbj.org&password=yourpassword

Reply with quote | Report
Friday, March 29, 2024 8:02 AM
Loading...