DtDNS: Crude Updater: Difference between revisions

From The Uniform Server Wiki
Jump to navigation Jump to search
No edit summary
m (Reverted edits by Upazixorys (Talk); changed back to last version by Ric)
 
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 13: Line 12:
{|
{|
|-
|-
|<pre>
|<pre>
http://&gt;www.dtdns.com/api/autodns.cfm?'''id'''=hostname&amp;'''pw'''=password&amp;'''ip'''=address&amp;'''client'''=name
http://>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
https://www.dtdns.com/api/autodns.cfm?'''id'''=hostname&'''pw'''=password&'''ip'''=address&'''client'''=name
&lt;/pre&gt;
</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 25: Line 24:
{|
{|
|-
|-
|&lt;pre&gt;
|<pre>
https://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
&lt;/pre&gt;
</pre>
|}
|}


Line 40: Line 39:
{|
{|
|-
|-
|&lt;pre&gt;
|<pre>
https://www.dtdns.com/api/autodns.cfm?'''id'''=hostname&amp;'''pw'''=password
https://www.dtdns.com/api/autodns.cfm?'''id'''=hostname&'''pw'''=password
&lt;/pre&gt;
</pre>
|}
|}
'''''[[#top | Top]]'''''
'''''[[#top | Top]]'''''
Line 56: Line 55:
* '''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:
&lt;pre&gt;
<pre>
&lt;html&gt;
<html>
&lt;head&gt;
<head>
&lt;title&gt;DtDNS Ip Updater&lt;/title&gt;
<title>DtDNS Ip Updater</title>
&lt;/head&gt;
</head>
&lt;body&gt;
<body>


&lt;ul&gt;
<ul>
&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=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=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=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=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">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;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">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;5) 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;/ul&gt;
</ul>


&lt;/body&gt;
</body>
&lt;/html&gt;
</html>
&lt;/pre&gt;
</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.



Latest revision as of 17:37, 24 November 2010

 

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):

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

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:

https://www.dtdns.com/api/autodns.cfm?'''id'''=hostname&'''pw'''=password&'''ip'''=address&'''client'''=name

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:

https://www.dtdns.com/api/autodns.cfm?'''id'''=hostname&'''pw'''=password

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:

<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>

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