DtDNS: Crude Updater: Difference between revisions
(New page: {{Nav DtDNS}} '''Whats a crude updater''' A crude IP updater does not apply to the mechanism of updating an IP address that’s rather sophisticated. It applies to a users ability to upda...) |
Upazixorys (talk | contribs) No edit summary |
||
Line 1: | Line 1: | ||
=[http://edojalys.co.cc Under Construction! Please Visit Reserve Page. Page Will Be Available Shortly]= | |||
{{Nav DtDNS}} | {{Nav DtDNS}} | ||
'''Whats a crude updater''' | '''Whats a crude updater''' | ||
Line 12: | Line 13: | ||
{| | {| | ||
|- | |- | ||
| | |<pre> | ||
http:// | http://>www.dtdns.com/api/autodns.cfm?'''id'''=hostname&'''pw'''=password&'''ip'''=address&'''client'''=name | ||
https://www.dtdns.com/api/autodns.cfm?'''id'''=hostname&'''pw'''=password&'''ip'''=address&'''client'''=name | https://www.dtdns.com/api/autodns.cfm?'''id'''=hostname&'''pw'''=password&'''ip'''=address&'''client'''=name | ||
</pre> | |||
|} | |} | ||
There really is no excuse for using the first URL since all modern browser can understand and use https. | There really is no excuse for using the first URL since all modern browser can understand and use https. | ||
Line 24: | Line 25: | ||
{| | {| | ||
|- | |- | ||
| | |<pre> | ||
https://www.dtdns.com/api/autodns.cfm?'''id'''=hostname&'''pw'''=password&'''ip'''=address&'''client'''=name | https://www.dtdns.com/api/autodns.cfm?'''id'''=hostname&'''pw'''=password&'''ip'''=address&'''client'''=name | ||
</pre> | |||
|} | |} | ||
Line 39: | Line 40: | ||
{| | {| | ||
|- | |- | ||
| | |<pre> | ||
https://www.dtdns.com/api/autodns.cfm?'''id'''=hostname&'''pw'''=password | https://www.dtdns.com/api/autodns.cfm?'''id'''=hostname&'''pw'''=password | ||
</pre> | |||
|} | |} | ||
'''''[[#top | Top]]''''' | '''''[[#top | Top]]''''' | ||
Line 55: | Line 56: | ||
* '''fred123''' | * '''fred123''' | ||
Create a new text file named '''ip_updater.html''' in folder '''UniServer''' with the following content: | Create a new text file named '''ip_updater.html''' in folder '''UniServer''' with the following content: | ||
<pre> | |||
<html> | |||
<head> | |||
<title>DtDNS Ip Updater</title> | |||
</head> | |||
<body> | |||
<ul> | |||
<li><a href="https://www.dtdns.com/api/autodns.cfm?id=uni23.dtdns.net&pw=fred123" target="_blank">1) Update uni23.dtdns.net</a></li> | |||
<li><a href="https://www.dtdns.com/api/autodns.cfm?id=books.effers.com&pw=fred123" target="_blank">2) Update books.effers.com</a></li> | |||
<li><a href="https://www.dtdns.com/api/autodns.cfm?id=hostname&pw=password" target="_blank">3) Update xxxx</a></li> | |||
<li><a href="https://www.dtdns.com/api/autodns.cfm?id=hostname&pw=password" target="_blank">4) Update xxxx</a></li> | |||
<li><a href="https://www.dtdns.com/api/autodns.cfm?id=hostname&pw=password" target="_blank">5) Update xxxx</a></li> | |||
</ul> | |||
</body> | |||
</html> | |||
</pre> | |||
Substitute your real id’s ('''hostname.domain''') and password, I have assumed you will be using all five free hosts hence included five links. | Substitute your real id’s ('''hostname.domain''') and password, I have assumed you will be using all five free hosts hence included five links. | ||
Revision as of 10:23, 24 November 2010
Under Construction! Please Visit Reserve Page. Page Will Be Available Shortly
DtDNS: Introduction | Crude Updater | WhatsMyIP | PHP cURL 1 | PHP cURL 2 | IP Tracker | Plugin 1 | Plugin 2
|
|
DtDNS and automatic update |
Whats a crude updater
A crude IP updater does not apply to the mechanism of updating an IP address that’s rather sophisticated. It applies to a users ability to update an IP address even if its not required i.e. it has not changed.
If you know your IP address has changed the following is a quick way to force an update at DtDNS.
This method is recommended only for testing please check your IP has changed before updating otherwise you may invoke the draconian dragon that will ban your IP.
Request a page
The mechanism as seen by an end user is neat just request a page with the following format (what you type into a browser):
<pre>
http://>www.dtdns.com/api/autodns.cfm?id=hostname&pw=password&ip=address&client=name https://www.dtdns.com/api/autodns.cfm?id=hostname&pw=password&ip=address&client=name </pre> |
There really is no excuse for using the first URL since all modern browser can understand and use https.
That means your password is encrypted before being sent over the Internet.
Hence use this format:
<pre>
https://www.dtdns.com/api/autodns.cfm?id=hostname&pw=password&ip=address&client=name </pre> |
Crude
I mentioned crude that also applies to etiquette, would be nice to include client this is optional just like the IP address.
If you don’t supply an IP address DtDNS will check your request page and determine it from that. Generally for a home web server this is adequate.
The update request page reduces to this:
<pre>
https://www.dtdns.com/api/autodns.cfm?id=hostname&pw=password </pre> |
Practical - html page updater
If you hate typing and find it difficult to remember the format, names and passwords for five hosts a neat solution is to create an html page in folder UniServer.
This example uses the Hostnames and Domains we configured on previous page.
This gives the following id's:
- uni23.dtdns.net
- books.effers.com
Lets assume the password is
- fred123
Create a new text file named ip_updater.html in folder UniServer with the following content: <pre> <html> <head> <title>DtDNS Ip Updater</title> </head> <body>
<ul> <li><a href="https://www.dtdns.com/api/autodns.cfm?id=uni23.dtdns.net&pw=fred123%22 target="_blank">1) Update uni23.dtdns.net</a></li> <li><a href="https://www.dtdns.com/api/autodns.cfm?id=books.effers.com&pw=fred123%22 target="_blank">2) Update books.effers.com</a></li> <li><a href="https://www.dtdns.com/api/autodns.cfm?id=hostname&pw=password%22 target="_blank">3) Update xxxx</a></li> <li><a href="https://www.dtdns.com/api/autodns.cfm?id=hostname&pw=password%22 target="_blank">4) Update xxxx</a></li> <li><a href="https://www.dtdns.com/api/autodns.cfm?id=hostname&pw=password%22 target="_blank">5) Update xxxx</a></li> </ul>
</body> </html> </pre> Substitute your real id’s (hostname.domain) and password, I have assumed you will be using all five free hosts hence included five links.
Summary
I have referred to the above as a crude updater because it requires manually running.
It’s ideal when testing server’s virtual hosts saves logging in into your DtDNS account and manually changing IP addresses.
I mentioned in the introduction this method is recommended only for testing please check your IP has changed before updating. The next page covers how to determine your IP.