home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 35 Internet / 35-Internet.zip / bos225b2.zip / ddnsdef.xml next >
Text File  |  1999-08-26  |  8KB  |  201 lines

  1. <!-----------------------------------------------------------------------
  2.     ddnsdef.xml - Dynamic DNS Hosts handled by Xitami
  3.  
  4.     Written: 99/06/18   Xitami team xitami@imatix.com
  5.     Revised: 99/08/07   Xitami team xitami@imatix.com
  6.  
  7.     ****  If you make changes to this file, please let us have them  ****
  8.  
  9.     How to use this file:
  10.  
  11.     The case-sensitive XML structure is:
  12.         DDNS
  13.           SERVICE
  14.             [SIGNON]
  15.             [SIGNOFF]
  16.  
  17.     SERVICE has these attributes:
  18.         NAME    (required)  Name of service, used in Xitami config file
  19.         TITLE   (optional)  Descriptive title, shown in WBA
  20.         HOST    (optional)  Name of host to connect to (default localhost)
  21.         PORT    (optional)  Port number to connect to (default 80, HTTP port)
  22.         VERBOSE (optional)  If 1, show progress (default 1)
  23.         TRACE   (optional)  If 1, show communications (default 0)
  24.         URL     (optional)  Home-page URL
  25.  
  26.     SIGNON and SIGNOFF have these attributes:
  27.         SEND    (required)  String to send to SERVICE
  28.         EXPECT  (optional)  Expected response from SERVICE ("HTTP/1.? 200*")
  29.  
  30.     In the SEND string, you can use these symbols:
  31.         $(username)         User name or e-mail from Xitami config file
  32.         $(password)         User name or key from Xitami config file
  33.         $(domain)           Dynamic domain name from Xitami config file
  34.         $(ipaddr)           Current local IP address
  35.         $(httpauth)         HTTP 'Authorisation:' header string
  36.         $(httpheaders)      Other standard HTTP headers
  37.         $(xxxx)             Any other attribute defined in SIGNON or SIGNOFF
  38.  
  39.     The send and expect strings can contain the escaped characters \n and \r.
  40.     The expect string is matched against the SERVICE response, if any.  The 
  41.     wildcard character ? matches any character in the response string and the
  42.     wildcard character * matches the remainder of the response string.
  43.  
  44.     DDNS services: these are the DDNS services that we found in a few hours'
  45.     poking around the Internet.  We stuck to free services, except for
  46.     Xitami.Net and tzo.com, and also those that seemed to actually work.  If
  47.     anyone ever finds-out how to get dhs.org to do something useful, let us
  48.     know, okay? -- The Xitami Team @imatix.com
  49.     --------------------------------------------------------------------->
  50. <DDNS>
  51.  
  52.  
  53. <!-----------------------------------------------------------------------
  54.     localhost
  55.     
  56.     Simply loops back to http://localhost/cgi-bin/testcgi.
  57.     --------------------------------------------------------------------->
  58. <SERVICE
  59.   NAME  = "localhost"
  60.   TITLE = "DDNS test using localhost"
  61.   HOST  = "localhost" >
  62.   <SIGNON
  63.     URL  = "/cgi-bin/testcgi/signon"
  64.     ARGS = "name=$(username)&password=$(password)&domain=$(domain)&ipaddr=$(ipaddr)"
  65.     SEND = "GET $(url)?$(args) HTTP/1.0\r\n$(httpauth)$(httpheaders)" />
  66.   <SIGNOFF
  67.     URL  = "/cgi-bin/testcgi/signoff"
  68.     ARGS = "name=$(username)&password=$(password)&domain=$(domain)&ipaddr=$(ipaddr)"
  69.     SEND = "GET $(url)?$(args) HTTP/1.0\r\n$(httpauth)$(httpheaders)" />
  70. </SERVICE>
  71.  
  72.  
  73. <!-----------------------------------------------------------------------
  74.     Xitami.Net
  75.     
  76.     Service for xitami.net domains, handled by tzo.com.  TZO uses an e-mail
  77.     address as username, and a generated key as password.  Fast DNS updates.
  78.     --------------------------------------------------------------------->
  79. <SERVICE
  80.   NAME  = "xitami.net"
  81.   TITLE = "Xitami.Net (by tzo.com)"
  82.   HOST  = "cgi.tzo.com" 
  83.   URL   = "tzo.com"
  84.   PORT  = "21333" >
  85.   <SIGNON
  86.     URL  = "/webclient/linuxsignedon.html"
  87.     ARGS = "TZOName=$(domain)&Email=$(username)&TZOKey=$(password)&B1=Sign+On"
  88.     SEND = "GET $(url)?$(args) HTTP/1.0\r\n$(httpheaders)" />
  89.   <SIGNOFF
  90.     URL  = "/webclient/linuxsignedoff.html"
  91.     ARGS = "B1=Sign+Me+Off+from+TZO"
  92.     SEND = "GET $(url)?$(args) HTTP/1.0\r\n$(httpheaders)" />
  93. </SERVICE>
  94.  
  95.  
  96. <!-----------------------------------------------------------------------
  97.     tzo.com
  98.  
  99.     Service for tzo.com domains.  TZO uses an e-mail address as the username,
  100.     and a generated key as password.  Fast DNS updates.
  101.     --------------------------------------------------------------------->
  102. <SERVICE
  103.   NAME  = "tzo.com"
  104.   TITLE = "tzo.com"
  105.   HOST  = "cgi.tzo.com" 
  106.   URL   = "tzo.com"
  107.   PORT  = "21333" >
  108.   <SIGNON
  109.     URL  = "/webclient/linuxsignedon.html"
  110.     ARGS = "TZOName=$(domain)&Email=$(username)&TZOKey=$(password)&B1=Sign+On"
  111.     SEND = "GET $(url)?$(args) HTTP/1.0\r\n$(httpheaders)" />
  112.   <SIGNOFF
  113.     URL  = "/webclient/linuxsignedoff.html"
  114.     ARGS = "B1=Sign+Me+Off+from+TZO"
  115.     SEND = "GET $(url)?$(args) HTTP/1.0\r\n$(httpheaders)" />
  116. </SERVICE>
  117.  
  118.  
  119. <!-----------------------------------------------------------------------
  120.     yi.org
  121.  
  122.     Free DDNS service, awfully slow to update.  Not recommended unless it
  123.     gets better.
  124.     --------------------------------------------------------------------->
  125. <SERVICE
  126.   NAME  = "yi.org"
  127.   TITLE = "yi.org (Your Internet)"
  128.   HOST  = "www.yi.org" >
  129.   URL   = "yi.org"
  130.   <SIGNON
  131.     URL  = "/bin/dyndns.fcgi"
  132.     ARGS = "ipaddr=$(ipaddr)"
  133.     SEND = "GET $(url)?$(args) HTTP/1.0\r\n$(httpauth)$(httpheaders)" />
  134.   <SIGNOFF
  135.     URL  = "/bin/dyndns.fcgi"
  136.     ARGS = "ipaddr=0.0.0.0"
  137.     SEND = "GET $(url)?$(args) HTTP/1.0\r\n$(httpauth)$(httpheaders)" />
  138. </SERVICE>
  139.  
  140.  
  141. <!-----------------------------------------------------------------------
  142.     ns1.net
  143.  
  144.     Free DDNS service, fast updates.
  145.     --------------------------------------------------------------------->
  146. <SERVICE
  147.   NAME  = "ns1.net"
  148.   TITLE = "ns1.net"
  149.   HOST  = "ns1.net" >
  150.   URL   = "ns1.net"
  151.   <SIGNON
  152.     URL  = "/dynmanager.cgi"
  153.     ARGS = "username=$(username)&password=$(password)&updatehost=$(ipaddr)"
  154.     SEND = "GET $(url)?$(args) HTTP/1.0\r\n$(httpheaders)" />
  155.   <SIGNOFF
  156.     URL  = "/dynmanager.cgi"
  157.     ARGS = "username=$(username)&password=$(password)&updatehost=0.0.0.0"
  158.     SEND = "GET $(url)?$(args) HTTP/1.0\r\n$(httpheaders)" />
  159. </SERVICE>
  160.  
  161.  
  162. <!-----------------------------------------------------------------------
  163.     dyndns.org
  164.     
  165.     Free DDNS service, fast updates.
  166.     --------------------------------------------------------------------->
  167. <SERVICE
  168.   NAME  = "dyndns.org"
  169.   TITLE = "dyndns.org"
  170.   HOST  = "www.dyndns.org" >
  171.   URL   = "www.dyndns.org"
  172.   <SIGNON
  173.     URL  = "/dynmod/dynname.cgi"
  174.     ARGS = "func=set&wildcard=checked"
  175.     SEND = "GET $(url)?$(args) HTTP/1.0\r\n$(httpauth)$(httpheaders)" />
  176. </SERVICE>
  177.  
  178.  
  179. <!-----------------------------------------------------------------------
  180.     PenguinPowered.com
  181.  
  182.     Free DDNS service run by justlinux.com, fast updates.  Uses a proprietary
  183.     DDNS protocol.  The EXPECT string may need updating from time to time.
  184.     Yeah, regular expressions *would* make this easier.
  185.     --------------------------------------------------------------------->
  186. <SERVICE
  187.   NAME  = "penguinpowered.com"
  188.   TITLE = "PenguinPowered.com (by justlinux.com)"
  189.   HOST  = "dyndns.justlinux.com"
  190.   URL   = "justlinux.com"
  191.   PORT  = "2345" >
  192.   <SIGNON
  193.     SEND   = "VER 1.0\nUSER $(username)\nPASS $(password)\nHOST $(domain)\nOPER update\nIP $(ipaddr)\nDONE\n" 
  194.     EXPECT = "OK justlinux.com Dynamic DNS SERVICE v?.?\nOK\nOK\nOK\nOK\nOK\nOK*" />
  195.   <SIGNOFF
  196.     SEND   = "VER 1.0\nUSER $(username)\nPASS $(password)\nHOST $(domain)\nOPER delete\nDONE\n" 
  197.     EXPECT = "OK justlinux.com Dynamic DNS SERVICE v?.?\nOK\nOK\nOK\nOK\nOK*" />
  198. </SERVICE>
  199.  
  200. </DDNS>
  201.