Difference between revisions of "DtDNS: Crude Updater"

From The Uniform Server Wiki
Jump to navigation Jump to search
(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...)
 
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>
+
|&lt;pre&gt;
http://>www.dtdns.com/api/autodns.cfm?'''id'''=hostname&'''pw'''=password&'''ip'''=address&'''client'''=name
+
http://&gt;www.dtdns.com/api/autodns.cfm?'''id'''=hostname&amp;'''pw'''=password&amp;'''ip'''=address&amp;'''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&amp;'''pw'''=password&amp;'''ip'''=address&amp;'''client'''=name
</pre>
+
&lt;/pre&gt;
 
|}
 
|}
 
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>
+
|&lt;pre&gt;
https://www.dtdns.com/api/autodns.cfm?'''id'''=hostname&'''pw'''=password&'''ip'''=address&'''client'''=name
+
https://www.dtdns.com/api/autodns.cfm?'''id'''=hostname&amp;'''pw'''=password&amp;'''ip'''=address&amp;'''client'''=name
</pre>
+
&lt;/pre&gt;
 
|}
 
|}
  
Line 39: Line 40:
 
{|
 
{|
 
|-
 
|-
|<pre>
+
|&lt;pre&gt;
https://www.dtdns.com/api/autodns.cfm?'''id'''=hostname&'''pw'''=password
+
https://www.dtdns.com/api/autodns.cfm?'''id'''=hostname&amp;'''pw'''=password
</pre>
+
&lt;/pre&gt;
 
|}
 
|}
 
'''''[[#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>
+
&lt;pre&gt;
<html>
+
&lt;html&gt;
<head>
+
&lt;head&gt;
<title>DtDNS Ip Updater</title>
+
&lt;title&gt;DtDNS Ip Updater&lt;/title&gt;
</head>
+
&lt;/head&gt;
<body>
+
&lt;body&gt;
  
<ul>
+
&lt;ul&gt;
<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>
+
&lt;li&gt;&lt;a href=&quot;https://www.dtdns.com/api/autodns.cfm?id=uni23.dtdns.net&amp;pw=fred123&quot; target=&quot;_blank&quot;&gt;1) Update uni23.dtdns.net&lt;/a&gt;&lt;/li&gt;
<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>
+
&lt;li&gt;&lt;a href=&quot;https://www.dtdns.com/api/autodns.cfm?id=books.effers.com&amp;pw=fred123&quot; target=&quot;_blank&quot;&gt;2) Update books.effers.com&lt;/a&gt;&lt;/li&gt;
<li><a href="https://www.dtdns.com/api/autodns.cfm?id=hostname&pw=password" target="_blank">3) Update xxxx</a></li>
+
&lt;li&gt;&lt;a href=&quot;https://www.dtdns.com/api/autodns.cfm?id=hostname&amp;pw=password&quot; target=&quot;_blank&quot;&gt;3) Update xxxx&lt;/a&gt;&lt;/li&gt;
<li><a href="https://www.dtdns.com/api/autodns.cfm?id=hostname&pw=password" target="_blank">4) Update xxxx</a></li>
+
&lt;li&gt;&lt;a href=&quot;https://www.dtdns.com/api/autodns.cfm?id=hostname&amp;pw=password&quot; target=&quot;_blank&quot;&gt;4) Update xxxx&lt;/a&gt;&lt;/li&gt;
<li><a href="https://www.dtdns.com/api/autodns.cfm?id=hostname&pw=password" target="_blank">5) Update xxxx</a></li>
+
&lt;li&gt;&lt;a href=&quot;https://www.dtdns.com/api/autodns.cfm?id=hostname&amp;pw=password&quot; target=&quot;_blank&quot;&gt;5) Update xxxx&lt;/a&gt;&lt;/li&gt;
</ul>
+
&lt;/ul&gt;
  
</body>
+
&lt;/body&gt;
</html>
+
&lt;/html&gt;
</pre>
+
&lt;/pre&gt;
 
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 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>

Top

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>

Top

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.

Top

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.

Top