Difference between revisions of "Configure DNS"

From Organic Design wiki
m
m
Line 8: Line 8:
 
*/10 * * * * nobody wget -q --spider "http://dynamicdns.park-your-domain.com/update?host=SUB&domain=DOMAIN&password=PASS"
 
*/10 * * * * nobody wget -q --spider "http://dynamicdns.park-your-domain.com/update?host=SUB&domain=DOMAIN&password=PASS"
 
</pre>
 
</pre>
 +
 +
The subdomain will automatically be created when the first request is made if it didn't previously exist. The password is shown in the namecheap.com admin site in the "DynamicDNS" section for the appropriate domain.
  
 
== See also ==
 
== See also ==
 
*[[DynamicDNS.pl]] ''- the script we used to use to update DNS records only when router's external IP changes''
 
*[[DynamicDNS.pl]] ''- the script we used to use to update DNS records only when router's external IP changes''
 
[[Category:Domain names|0]]
 
[[Category:Domain names|0]]

Revision as of 05:31, 9 July 2008

Procedure.svg Configure DNS
Organic Design procedure

Our .com domain host is namecheap.com and they provide a free dynamic DNS solution allowing simple HTTP query-string based method of updating a sub-domain. We just add a single entry to /etc/crontab which looks like this (replace SUB, DOMAIN and PASS with your specific settings):

*/10 * * * * nobody wget -q --spider "http://dynamicdns.park-your-domain.com/update?host=SUB&domain=DOMAIN&password=PASS"

The subdomain will automatically be created when the first request is made if it didn't previously exist. The password is shown in the namecheap.com admin site in the "DynamicDNS" section for the appropriate domain.

See also

  • DynamicDNS.pl - the script we used to use to update DNS records only when router's external IP changes