From e28475fbc5843b5649eac8afb16a9b0a4c478680 Mon Sep 17 00:00:00 2001
From: wimpunk Normally you don't need many arguments when starting ddclient. " .
+ "You can run ddclient as "/usr/sbin/ddclient -daemon 300 -syslog" \n" .
+ "which should be enough for most configuration. You can put all the needed\n" .
+ "parameters in the configuration file.\n" .
+ " " .
+ "\n" .
+ "\n" .
+ "\n" .
+ "\n" .
+ " \n" .
+ "The configuration file, ddclient.conf, can be used to define the \n" .
+ "default behaviour and operation of ddclient. The file consists of \n" .
+ "sequences of global variable definitions and host definitions. \n" .
+ "Since version 3.6.5, ddclient.conf is located by default in \n" .
+ "/etc/ddclient/ddclient.conf. Another location can be forced \n" .
+ "by using the -file option" .
+ " \n" .
+ "Global definitions look like: \n" .
+ "name=value [,name=value]* \n" .
+ " \n" .
+ "Next example \n" .
+ "specifies that ddclient should operate as a daemon, checking the \n" .
+ "eth0 interface for an IP address change every 5 minutes and use the \n" .
+ "'dyndns2' protocol by default. \n" .
+ "ddclient [options]
\n".
+ "options are:
\n".
+ "\n".
+ "
\n" ;
+
+$main[] = $text;
+// config
+$text['id'] = "config";
+$text['title'] = "Configuring ddclient";
+$text['menu'] = "config";
+$text['body'] =
+ " \n".
+ "-daemon delay run as a daemon (default: 0). \n".
+ "-proxy host use 'host' as the HTTP proxy. \n".
+ "-server host update DNS information on 'host' (default: members.dyndns.org). \n".
+ "-protocol type update protocol used (default: dyndns2). \n".
+ "-file path load configuration information from 'path' (default: /etc/ddclient/ddclient.conf). \n".
+ "-cache path record address used in 'path' (default: /etc/ddclient/ddclient.cache). \n".
+ "-pid path record process id in 'path'. " .
+ "-use which how the should IP address be obtained. (default: ip). \n" .
+ " More information about the possible use-arguments can be found on \n" .
+ " the supported routers page \n" .
+
+ "-ip address set the IP address to 'address'. \n" .
+ "-if interface obtain IP address from 'interface' (default: ppp0). \n" .
+
+ "-if-skip pattern skip any IP addresses before 'pattern' in the output of ifconfig {if}. \n" .
+ "-web provider|url obtain IP address from provider's IP checking page (default: dyndns). \n" .
+
+ "-web-skip pattern skip any IP addresses before 'pattern' on the web provider|url. \n" .
+ "-fw address|url obtain IP address from firewall at 'address'. \n" .
+ "-fw-skip pattern skip any IP addresses before 'pattern' on the firewall address|url. \n" .
+ "-fw-login login use 'login' when getting IP from fw. \n" .
+
+ "-fw-password secret use password 'secret' when getting IP from fw. \n" .
+ "-cmd program obtain IP address from by calling {program}. \n" .
+
+ "-cmd-skip pattern skip any IP addresses before 'pattern' in the output of {cmd}. \n" .
+ "-login user login as 'user'. \n" .
+ "-password secret use password 'secret'. \n" .
+ "-host host update DNS information for 'host'. \n" .
+ "-{no}retry retry failed updates. (default: noretry). \n" .
+ "-{no}force force an update even if the update may be unnecessary (default: noforce). \n" .
+ "-timeout max wait at most 'max' seconds for the host to respond (default: 0). \n" .
+ "-{no}syslog log messages to syslog (default: nosyslog). \n" .
+ "-facility {type} log messages to syslog to facility {type} (default: daemon). \n" .
+ "-priority {pri} log messages to syslog with priority {pri} (default: notice). \n" .
+ "-mail address e-mail messages to {address}. \n" .
+ "-mail-failure address e-mail messages for failed updates to {address}. \n" .
+ "-{no}exec do {not} execute; just show what would be done (default: exec). \n" .
+ "-{no}debug print {no} debugging information (default: nodebug). \n" .
+ "-{no}verbose print {no} verbose information (default: noverbose). \n" .
+ "-{no}quiet print {no} messages for unnecessary updates (default: noquiet). \n" .
+ "-help this message (default: 0). \n" .
+ "-{no}query print {no} ip addresses and exit. \n" .
+ "daemon=600 \n" .
+ "use=if, if=eth0 \n" .
+ "proxy=proxy.myisp.com \n" .
+ "protocol=dyndns2 \n" .
+ "
\n" .
+ "
Host definitions look like: \n" . + "[name=value [,name=value]*]* a.host.domain [,b.host.domain] [login] [password] \n" . + "
\n" . + "Next example specifies two host definitions. \n" . + "The first definition will use the hammernode1 protocol, \n" . + "my-hn-login and my-hn-password to update the ip-address of \n" . + "myhost.hn.org and my2ndhost.hn.org. \n" . + "
\n" . + "The second host definition will use the current default protocol \n" . + "('dyndns2'), my-login and my-password to update the ip-address of \n" . + "myhost.dyndns.org and my2ndhost.dyndns.org. \n" . + "
\n" . + "The order of this sequence is significant because the values of any \n" . + "global variable definitions are bound to a host definition when the \n" . + "host definition is encountered. \n" . + "
\n" . + "
\n" . + "protocol=hammernode1, \ \n" . + "login=my-hn-login, password=my-hn-password myhost.hn.org \n" . + "login=my-login, password=my-password myhost.dyndns.org,my2nd.dyndns.org \n" . + "\n" . + "
See the sample-ddclient.conf file for further examples.
\n" ; + +$main[] = $text; +?> diff --git a/html/home.php b/html/home.php new file mode 100644 index 0000000..522b687 --- /dev/null +++ b/html/home.php @@ -0,0 +1,105 @@ +" . + "Ddclient is a Perl client used to update dynamic DNS entries for accounts " . + "on Dynamic DNS Network Services' free DNS service. It was origanally " . + "written by Paul Burry and is now maintaned by ".$link['developers'].". " . + "It has the capability to update more than only " . + "dyndns and it can fetch your WAN-ipaddress on a few different ways. Check the " . + "configuration pages to find how to do this." . + "\n" . + "\n" .
+ "According to cudeso.be:
" .
+ "DDclient is a small but full featured client requiring only Perl " .
+ "and no additional modules. It runs under most UNIX OSes and has " .
+ "been tested under GNU/Linux and FreeBSD. Supported features " .
+ "include: operating as a daemon, manual and automatic updates, " .
+ "static and dynamic updates, optimized updates for multiple " .
+ "addresses, MX, wildcards, abuse avoidance, retrying failed " .
+ "updates, and sending update status to syslog and through e-mail." .
+ "
\n +Ddclient doesn't have any automatic installation procedure. Get the tar-file +from " . $link['download'] . " and untar it. Copy the perl script to your +favorit location (ex. /usr/sbin) and create a /etc/ddclient/ddclient.conf +configuration file. +
+There are a few configuration examples provided which you can copy to +/etc/ddclient/ddclient.conf and modify. More info about the configuration +can be found on the usage page +
+A typical configuration like: +
+# +# /etc/ddclient/ddclient.conf +# +protocol=dyndns2 +use=web +login=mylogin +password=mypassword +myhost.dyndns.org ++
+You can run ddclient as "/usr/sbin/ddclient -daemon 300 -syslog" +and put it in your startup scripts. +
\n"; +$main[] = $text; + +// help part +$text['id'] = "help"; +$text['title'] = "Documentation and help"; +$text['menu'] = "Documentation"; +$text['body'] = " +The documentation about the configuration has been splitted in three +sections. The usage page describes the most parts +of the configuration while the supported protocols +page describes the protocol-specific options. If you want to know how +to use ddclient with your router, check the +supported routers. +
+Debugging ddclient looks pretty hard but it isn't. First try to put \n". + "as less as necessary in your configuration. Try to run \n". + "`./ddclient -daemon=0 -noquiet -debug` and check the result. \n" . + "Try to add the features you need and check it again. Once \n". + "you're happy with the result, run it as a daemon.\n" . + "
\n" . + "
\n" . + "If this doesn't work for you, \n". + "there are a few places where you can look for help. If you need \n". + "any help in configuring ddclient, you could try ddclient --help. \n". + "It should give you all the possible configuration options so.\n" . + "
\n". + "\n" . + "If you think your configuration is correct, but ddclient doesn't \n" . + "work as you expected, you can enable debug and verbose messages \n" . + "by running ddclient -daemon=0 -debug -verbose -noquiet.\n". + "
\n". + "\n" . + "If this doesn't help for you, maybe \n" . + "\n" . + "the help forum on sourceforge can bring some help.\n" . + "I know the manual is not very clear, you have to read the example " . + "configurations included in the tar-file or you can run " . + ""ddclient --help" to get more help. " . + "If you lucky you can find some help on #ddclient on irc.freenode.net" . + "
\n" . + "+More info about the ddclient project can be found on " . + $link['project'] . + "
"; +$main[] = $text; +?> diff --git a/html/index.php b/html/index.php index 02edfbc..77b7feb 100644 --- a/html/index.php +++ b/html/index.php @@ -32,19 +32,25 @@ $_SESSION['debug'] = $debug; // main $pages[0]['nr'] = 0; $pages[0]['title'] = "home"; +$pages[0]['php'] = "home.php"; + // documentation $pages[1]['nr'] = 1; $pages[1]['title'] = "usage"; +$pages[1]['php'] = "doc.php"; $pages[2]['nr'] = 2; $pages[2]['title'] = "supported protocols"; +$pages[2]['php'] = "protocol.php"; $pages[3]['nr'] = 3; $pages[3]['title'] = "supported routers"; +$pages[3]['php'] = "router.php"; if ($debug) { $pages[4]['nr'] = 4; -$pages[4]['title'] = "xml"; + $pages[4]['title'] = "xml"; + $pages[4]['php'] = "xml.php"; } @@ -52,649 +58,8 @@ $curpage = isset($_GET['page'])?$_GET['page']:0; $titleextra = $pages[$curpage]['title']; $page = $pages[$curpage]['nr']; -// filling the page; should be in a dbase to -if ($page == 0 ) { // home page -// Introduction -$text['id'] = "intro"; -$text['title'] = "Introduction"; -$text['menu'] = "Introduction"; -$text['body'] = - "" . - "Ddclient is a Perl client used to update dynamic DNS entries for accounts " . - "on Dynamic DNS Network Services' free DNS service. It was origanally " . - "written by Paul Burry and is now maintaned by ".$link['developers'].". " . - "It has the capability to update more than only " . - "dyndns and it can fetch your WAN-ipaddress on a few different ways. Check the " . - "configuration pages to find how to do this." . - "
\n" . - "\n" .
- "According to cudeso.be:
" .
- "DDclient is a small but full featured client requiring only Perl " .
- "and no additional modules. It runs under most UNIX OSes and has " .
- "been tested under GNU/Linux and FreeBSD. Supported features " .
- "include: operating as a daemon, manual and automatic updates, " .
- "static and dynamic updates, optimized updates for multiple " .
- "addresses, MX, wildcards, abuse avoidance, retrying failed " .
- "updates, and sending update status to syslog and through e-mail." .
- "
\n -Ddclient doesn't have any automatic installation procedure. Get the tar-file -from " . $link['download'] . " and untar it. Copy the perl script to your -favorit location (ex. /usr/sbin) and create a /etc/ddclient/ddclient.conf -configuration file. -
-There are a few configuration examples provided which you can copy to -/etc/ddclient/ddclient.conf and modify. More info about the configuration -can be found on the usage page -
-A typical configuration like: -
-# -# /etc/ddclient/ddclient.conf -# -protocol=dyndns2 -use=web -login=mylogin -password=mypassword -myhost.dyndns.org --
-You can run ddclient as "/usr/sbin/ddclient -daemon 300 -syslog" -and put it in your startup scripts. -
\n"; -$main[] = $text; - -// help part -$text['id'] = "help"; -$text['title'] = "Documentation and help"; -$text['menu'] = "Documentation"; -$text['body'] = " -The documentation about the configuration has been splitted in three -sections. The usage page describes the most parts -of the configuration while the supported protocols -page describes the protocol-specific options. If you want to know how -to use ddclient with your router, check the -supported routers. -
-Debugging ddclient looks pretty hard but it isn't. First try to put \n". - "as less as necessary in your configuration. Try to run \n". - "`./ddclient -daemon=0 -noquiet -debug` and check the result. \n" . - "Try to add the features you need and check it again. Once \n". - "you're happy with the result, run it as a daemon.\n" . - "
\n" . - "
\n" . - "If this doesn't work for you, \n". - "there are a few places where you can look for help. If you need \n". - "any help in configuring ddclient, you could try ddclient --help. \n". - "It should give you all the possible configuration options so.\n" . - "
\n". - "\n" . - "If you think your configuration is correct, but ddclient doesn't \n" . - "work as you expected, you can enable debug and verbose messages \n" . - "by running ddclient -daemon=0 -debug -verbose -noquiet.\n". - "
\n". - "\n" . - "If this doesn't help for you, maybe \n" . - "\n" . - "the help forum on sourceforge can bring some help.\n" . - "I know the manual is not very clear, you have to read the example " . - "configurations included in the tar-file or you can run " . - ""ddclient --help" to get more help. " . - "If you lucky you can find some help on #ddclient on irc.freenode.net" . - "
\n" . - "-More info about the ddclient project can be found on " . - $link['project'] . - "
"; -$main[] = $text; - - -} else if ($page == 1) { // documentation -// usage -$text['id'] = "introduction"; -$text['title'] = "Introduction"; -$text['menu'] = "intro"; -$text['body'] = - "\n" . - "This page describes the configuration for ddclient. If you need\n". - "anymore info about supported routers or supported protocols, check the\n" . - "other pages. Other options are described here.\n" . - "\n" . - "
Normally you don't need many arguments when starting ddclient. " . - "You can run ddclient as "/usr/sbin/ddclient -daemon 300 -syslog" \n" . - "which should be enough for most configuration. You can put all the needed\n" . - "parameters in the configuration file.\n" . - "
\n" . - "" . - "\n" . - "\n" . - "\n" . - "\n" . - "
\n" ; -$main[] = $text; - -$text['id'] = "usage"; -$text['title'] = "Usage"; -$text['menu'] = "usage"; -$text['body'] = - "usage:ddclient [options]
-daemon delay | run as a daemon (default: 0). | |
-proxy host | use 'host' as the HTTP proxy. | |
-server host | update DNS information on 'host' (default: members.dyndns.org). | |
-protocol type | update protocol used (default: dyndns2). | |
-file path | load configuration information from 'path' (default: /etc/ddclient/ddclient.conf). | |
-cache path | record address used in 'path' (default: /etc/ddclient/ddclient.cache). | |
-pid path | record process id in 'path'. | |
-use which | how the should IP address be obtained. (default: ip). \n" . - " More information about the possible use-arguments can be found on \n" . - " the supported routers page | |
-ip address | set the IP address to 'address'. | |
-if interface | obtain IP address from 'interface' (default: ppp0). | |
-if-skip pattern | skip any IP addresses before 'pattern' in the output of ifconfig {if}. | |
-web provider|url | obtain IP address from provider's IP checking page (default: dyndns). | |
-web-skip pattern | skip any IP addresses before 'pattern' on the web provider|url. | |
-fw address|url | obtain IP address from firewall at 'address'. | |
-fw-skip pattern | skip any IP addresses before 'pattern' on the firewall address|url. | |
-fw-login login | use 'login' when getting IP from fw. | |
-fw-password secret | use password 'secret' when getting IP from fw. | |
-cmd program | obtain IP address from by calling {program}. | |
-cmd-skip pattern | skip any IP addresses before 'pattern' in the output of {cmd}. | |
-login user | login as 'user'. | |
-password secret | use password 'secret'. | |
-host host | update DNS information for 'host'. | |
-{no}retry | retry failed updates. (default: noretry). | |
-{no}force | force an update even if the update may be unnecessary (default: noforce). | |
-timeout max | wait at most 'max' seconds for the host to respond (default: 0). | |
-{no}syslog | log messages to syslog (default: nosyslog). | |
-facility {type} | log messages to syslog to facility {type} (default: daemon). | |
-priority {pri} | log messages to syslog with priority {pri} (default: notice). | |
-mail address | e-mail messages to {address}. | |
-mail-failure address | e-mail messages for failed updates to {address}. | |
-{no}exec | do {not} execute; just show what would be done (default: exec). | |
-{no}debug | print {no} debugging information (default: nodebug). | |
-{no}verbose | print {no} verbose information (default: noverbose). | |
-{no}quiet | print {no} messages for unnecessary updates (default: noquiet). | |
-help | this message (default: 0). | |
-{no}query | print {no} ip addresses and exit. |
\n" . - "The configuration file, ddclient.conf, can be used to define the \n" . - "default behaviour and operation of ddclient. The file consists of \n" . - "sequences of global variable definitions and host definitions. \n" . - "Since version 3.6.5, ddclient.conf is located by default in \n" . - "/etc/ddclient/ddclient.conf. Another location can be forced \n" . - "by using the -file option" . - "
\n" . - "\n" . - "Global definitions look like: \n" . - "name=value [,name=value]* \n" . - "
\n" . - "\n" . - "Next example \n" . - "specifies that ddclient should operate as a daemon, checking the \n" . - "eth0 interface for an IP address change every 5 minutes and use the \n" . - "'dyndns2' protocol by default. \n" . - "
\n" . - "daemon=600 \n" . - "use=if, if=eth0 \n" . - "proxy=proxy.myisp.com \n" . - "protocol=dyndns2 \n" . - "\n" . - "
Host definitions look like: \n" . - "[name=value [,name=value]*]* a.host.domain [,b.host.domain] [login] [password] \n" . - "
\n" . - "Next example specifies two host definitions. \n" . - "The first definition will use the hammernode1 protocol, \n" . - "my-hn-login and my-hn-password to update the ip-address of \n" . - "myhost.hn.org and my2ndhost.hn.org. \n" . - "
\n" . - "The second host definition will use the current default protocol \n" . - "('dyndns2'), my-login and my-password to update the ip-address of \n" . - "myhost.dyndns.org and my2ndhost.dyndns.org. \n" . - "
\n" . - "The order of this sequence is significant because the values of any \n" . - "global variable definitions are bound to a host definition when the \n" . - "host definition is encountered. \n" . - "
\n" . - "
\n" . - "protocol=hammernode1, \ \n" . - "login=my-hn-login, password=my-hn-password myhost.hn.org \n" . - "login=my-login, password=my-password myhost.dyndns.org,my2nd.dyndns.org \n" . - "\n" . - "
See the sample-ddclient.conf file for further examples.
\n" ; - -$main[] = $text; - -} else if ($page == 2) { // supported sevices - $text['id'] = "intro"; - $text['title'] = "Introduction about the supported protocols"; - $text['menu'] = "Introduction"; - $text['body'] = "". - "This is an incomplete list of the services supported by ddclient. ". - "If your favoriet dynamic dns provider isn't here, check the result " . - "ddclient --help with the most recent version of ddclient. If it's " . - "there, check the patches section on sf.net and if it's really not " . - "supported by ddclient you can try to modify ddclient yourself. " . - "
" . - "-Since ddclient version 3.7, ddclient also supports https to update -your favorit provider. Use the ssl=yes option to use this feature. -
"; - - $main[] = $text; -// dnspark -$text['id'] = "dnspark"; -$text['title'] = "dnspark protocol"; -$text['menu'] = "dnspark"; -$text['body'] = - "The 'dnspark' protocol is used by DNS service offered by www.dnspark.com.
\n ". - "Configuration variables applicable to the 'easydns' protocol are:\n ". - "
protocol=dnspark | |
server=fqdn.of.service | defaults to www.dnspark.com |
backupmx=no|yes | indicates that DNSPark should be the secondary MX " . - "for this domain or host. |
mx=any.host.domain | a host MX'ing for this host or domain. |
mxpri=priority | MX priority. |
login=service-login | login name and password registered with the service |
password=service-password | |
fully.qualified.host | the host registered with the service. |
Example ddclient.conf file entries:
\n" . - "\n" . - "## single host update\n" . - "protocol=dnspark, \\\n" . - "login=my-dnspark.com-login, \\\n" . - "password=my-dnspark.com-password \\\n" . - "myhost.dnspark.com \n" . - "\n" . - "## multiple host update with wildcard'ing mx, and backupmx\n" . - "protocol=dnspark, \\\n" . - "login=my-dnspark.com-login, \\\n" . - "password=my-dnspark.com-password, \\\n" . - "mx=a.host.willing.to.mx.for.me, \\\n" . - "mxpri=10, \\\n" . - "my-toplevel-domain.com,my-other-domain.com\n" . - "\n" . - "## multiple host update to the custom DNS service\n" . - "protocol=dnspark, \\\n" . - "login=my-dnspark.com-login, \\\n" . - "password=my-dnspark.com-password \\\n" . - "my-toplevel-domain.com,my-other-domain.com\n" . - "\n" . - "
The 'dslreports1' protocol is used by a free DSL monitoring service\n" . -"offered by www.dslreports.com.
\n" . - -"Configuration variables applicable to the 'dslreports1' protocol are:
" . -"protocol=dslreports1 | |
server=fqdn.of.service | defaults to www.dslreports.com |
login=service-login | login name and password registered with the service |
password=service-password | |
unique-number | the host registered with the service. |
protocol=dyndns1 | |
server=fqdn.of.service | defaults to members.dyndns.org |
backupmx=no|yes | indicates that this host is the primary MX for the domain. |
mx=any.host.domain | a host MX'ing for this host definition. |
wildcard=no|yes | add a DNS wildcard CNAME record that points to {host} |
login=service-login | login name and password registered with the service |
password=service-password | |
fully.qualified.host | the host registered with the service. |
Example ddclient.conf file entries:
" . - "\n" . - "## single host update\n" . - "protocol=dyndns1, \\\n" . - "login=my-dyndns.org-login, \\\n" . - "password=my-dyndns.org-password \\\n" . - "myhost.dyndns.org \n" . -"\n" . - "## multiple host update with wildcard'ing mx, and backupmx\n" . - "protocol=dyndns1, \\\n" . - "login=my-dyndns.org-login, \\\n" . - "password=my-dyndns.org-password, \\\n" . - "mx=a.host.willing.to.mx.for.me,backupmx=yes,wildcard=yes \\\n" . - "myhost.dyndns.org,my2ndhost.dyndns.org \n" . - "
Note: you only need one of the examples
\n"; - -$main[] = $text; -// dyndns2 -$text['id'] = "dyndns2"; -$text['title'] = "dyndns2"; -$text['menu'] = "dyndns2"; -$text['body'] = -"The 'dyndns2' protocol is a newer low-bandwidth protocol used by a\n" . -"free dynamic DNS service offered by www.dyndns.org. It supports\n" . -"features of the older 'dyndns1' in addition to others. [These will be\n" . -"supported in a future version of ddclient.]
\n" . -"\n". -"Configuration variables applicable to the 'dyndns2' protocol are:
\n" . -"protocol=dyndns2 | |
server=fqdn.of.service | defaults to members.dyndns.org |
backupmx=no|yes | indicates that this host is the primary MX for the domain. |
static=no|yes | indicates that this host has a static IP address. |
custom=no|yes | indicates that this host is a 'custom' top-level domain name. |
mx=any.host.domain | a host MX'ing for this host definition. |
wildcard=no|yes | add a DNS wildcard CNAME record that points to {host} |
login=service-login | login name and password registered with the service |
password=service-password | |
fully.qualified.host | the host registered with the service. |
Example ddclient.conf file entries:
" . - "\n" . - "## single host update\n" . - "protocol=dyndns2, \\\n" . - "login=my-dyndns.org-login, \\\n" . - "password=my-dyndns.org-password \\\n" . - "myhost.dyndns.org \n" . -"\n" . - "## multiple host update with wildcard'ing mx, and backupmx\n" . - "protocol=dyndns2, \\\n" . - "login=my-dyndns.org-login, \\\n" . - "password=my-dyndns.org-password, \\\n" . - "mx=a.host.willing.to.mx.for.me,backupmx=yes,wildcard=yes \\\n" . - "myhost.dyndns.org,my2ndhost.dyndns.org \n" . -"\n" . - "## multiple host update to the custom DNS service\n" . - "protocol=dyndns2, \\\n" . - "login=my-dyndns.org-login, \\\n" . - "password=my-dyndns.org-password \\\n" . - "my-toplevel-domain.com,my-other-domain.com\n" . - "\n" . - "
Note: you only need one of the examples
\n"; - -$main[] = $text; -// easydns -$text['id'] = "easydns"; -$text['title'] = "easydns"; -$text['menu'] = "easydns"; -$text['body'] = -"The 'easydns' protocol is used by the for fee DNS service offered \n" . -"by www.easydns.com.
\n" . - -"Configuration variables applicable to the 'easydns' protocol are:\n". -"
protocol=easydns | |
server=fqdn.of.service | defaults to members.easydns.com |
backupmx=no|yes | indicates that EasyDNS should be the secondary MX for this domain or host. |
mx=any.host.domain | a host MX'ing for this host or domain. |
wildcard=no|yes | add a DNS wildcard CNAME record that points to {host} |
login=service-login | login name and password registered with the service |
password=service-password | |
fully.qualified.host | the host registered with the service. |
Example ddclient.conf file entries:
" . - "\n" . - "## single host update\n" . - "protocol=easydns, \\\n" . - "login=my-easydns.com-login, \\\n" . - "password=my-easydns.com-password \\\n" . - "myhost.easydns.com \n" . -"\n" . - "## multiple host update with wildcard'ing mx, and backupmx\n" . - "protocol=easydns, \\\n" . - "login=my-easydns.com-login, \\\n" . - "password=my-easydns.com-password, \\\n" . - "mx=a.host.willing.to.mx.for.me, \\\n" . - "backupmx=yes, \\\n" . - "wildcard=yes \\\n" . - "my-toplevel-domain.com,my-other-domain.com\n" . -"\n" . - "## multiple host update to the custom DNS service\n" . - "protocol=easydns, \\\n" . - "login=my-easydns.com-login, \\\n" . - "password=my-easydns.com-password \\\n" . - "my-toplevel-domain.com,my-other-domain.com\n" . - "\n" . - "
" . -"The 'hammernode1' protocol is the protocol used by the free dynamic \n" . -"DNS service offered by Hammernode at www.hn.org
\n" . - -"Configuration variables applicable to the 'hammernode1' protocol are: \n" . -"protocol=hammernode1 | |
server=fqdn.of.service | defaults to members.dyndns.org |
login=service-login | login name and password registered with the service |
password=service-password | |
fully.qualified.host | the host registered with the service. |
Example ddclient.conf file entries:
\n" . - "\n" . - "## single host update\n" . - "protocol=hammernode1, \\\n" . - "login=my-hn.org-login, \\\n" . - "password=my-hn.org-password \\\n" . - "myhost.hn.org \n" . -"\n" . - "## multiple host update\n" . - "protocol=hammernode1, \\\n" . - "login=my-hn.org-login, \\\n" . - "password=my-hn.org-password, \\\n" . - "myhost.hn.org,my2ndhost.hn.org\n" . - "\n" . - "
The 'namecheap' protocol is used by DNS service offered by www.namecheap.com.
\n" . -"\n" . -"Configuration variables applicable to the 'easydns' protocol are:
\n" . -"protocol=namecheap | |
server=fqdn.of.service | defaults to dynamicdns.park-your-domain.com |
login=service-login | login name and password registered with the service |
password=service-password | |
fully.qualified.host | the host registered with the service. |
Example ddclient.conf file entries:
". - "\n" . - "## single host update\n" . - "protocol=namecheap, \\\n" . - "login=my-namecheap.com-login, \\\n" . - "password=my-namecheap.com-password \\\n" . - "myhost.namecheap.com \n" . - "\n" . - "
The 'zoneedit1' protocol is used by a DNS service offered by -www.zoneedit.com.
\n" . - -"Configuration variables applicable to the 'zoneedit1' protocol are:
\n" . - "Example ddclient.conf file entries:
\n" . - "\n" . - "## single host update\n" . - "protocol=zoneedit1, \\\n" . - "server=www.zoneedit.com, \\\n" . - "login=my-zoneedit-login, \\\n" . - "password=my-zoneedit-password \\\n" . - "my.domain.name\n" . - "\n" . - "## multiple host update \\\n" . - "protocol=zoneedit1, \\\n" . - "server=www.zoneedit.com, \\\n" . - "login=my-zoneedit-login, \\\n" . - "password=my-zoneedit-password \\\n" . - "my.domain.name,my2nd.domain.com\n" . - "\n" . - "
". - "Ddclient can get the needed IP-address on a lot of different\n". - "ways. By default, it fetches it's IP from the internet but \n". - "you can it also from a router or specify it yourself.\n". - "
\n". - "Ddclient supports a lot of different routers. To configure ". - "your favorit router, modify your use-line in your configuration ". - "to something like -use=linksys-ver2. Don't forget to put your ". - "router password and login in the configuration.". - "
". - "". - "If your favorit router isn't here, try to run ddclient --help. \n". - "This list is rather incomplete so there are a few more routers \n". - "supported by the most recent version of ddclient. \n". - "
"; - $main[] = $text; - - $text['id'] = "nonrouter"; - $text['title'] = "Non router option"; - $text['menu'] = "Non router"; - $text['body'] = - "-use=web | obtain IP from an IP discovery page on the web. This is the default way if none is specified |
-use=if | obtain IP from the -if {interface}. |
-use=ip | obtain IP from -ip {address}. |
-use=cmd | obtain IP from the -cmd {external-command}. |
-use=fw | obtain IP from the firewall specified by -fw {type|address}. |
-use=3com-3c886a | obtain IP from 3com 3c886a 56k Lan Modem at the -fw {address}. |
-use=3com-oc-remote812 | obtain IP from 3com OfficeConnect Remote 812 at the -fw {address}. |
-use=alcatel-stp | obtain IP from Alcatel Speed Touch Pro at the -fw {address}. |
-use=allnet-1298 | obtain IP from Allnet 1298 at the -fw {address}. |
-use=cayman-3220h | obtain IP from Cayman 3220-H DSL at the -fw {address}. |
-use=cisco | obtain IP from Cisco FW at the -fw {address}. |
-use=dlink-604 | obtain IP from D-Link DI-604 at the -fw {address}. |
-use=dlink-614 | obtain IP from D-Link DI-614+ at the -fw {address}. |
-use=e-tech | obtain IP from E-tech Router at the -fw {address}. |
-use=elsa-lancom-dsl10 | obtain IP from ELSA LanCom DSL/10 DSL FW at the -fw {address}. |
-use=elsa-lancom-dsl10-ch01 | obtain IP from ELSA LanCom DSL/10 DSL FW (isdn ch01) at the -fw {address}. |
-use=elsa-lancom-dsl10-ch02 | obtain IP from ELSA LanCom DSL/10 DSL FW (isdn ch01) at the -fw {address}. |
-use=linksys | obtain IP from Linksys FW at the -fw {address}. |
-use=linksys2 | obtain IP from Linksys FW ver 2 at the -fw {address}. |
-use=maxgate-ugate3x00 | obtain IP from MaxGate UGATE-3x00 FW at the -fw {address}. |
-use=netgear-rt3xx | obtain IP from Netgear FW at the -fw {address}. |
-use=netopia-r910 | obtain IP from Netopia R910 FW at the -fw {address}. |
-use=smc-barricade | obtain IP from SMC Barricade FW at the -fw {address}. |
-use=sohoware-nbg800 | obtain IP from SOHOWare BroadGuard NBG800 at the -fw {address}. |
-use=vigor-2200usb | obtain IP from Vigor 2200 USB at the -fw {address}. |
-use=watchguard-soho | obtain IP from Watchguard SOHO FW at the -fw {address}. |
-use=xsense-aero | obtain IP from Xsense Aero at the -fw {address}. |
Remember, if your router isn't here, check the result of ddclient --help
"; - $main[] = $text; - -} else if ($page == 4) { // documentation - require("xml.php"); -} ?> diff --git a/html/protocol.php b/html/protocol.php new file mode 100644 index 0000000..c3ab9d3 --- /dev/null +++ b/html/protocol.php @@ -0,0 +1,333 @@ +". + "This is an incomplete list of the services supported by ddclient. ". + "If your favoriet dynamic dns provider isn't here, check the result " . + "ddclient --help with the most recent version of ddclient. If it's " . + "there, check the patches section on sf.net and if it's really not " . + "supported by ddclient you can try to modify ddclient yourself. " . + "" . + "+Since ddclient version 3.7, ddclient also supports https to update +your favorit provider. Use the ssl=yes option to use this feature. +
"; + + $main[] = $text; +// dnspark +$text['id'] = "dnspark"; +$text['title'] = "dnspark protocol"; +$text['menu'] = "dnspark"; +$text['body'] = + "The 'dnspark' protocol is used by DNS service offered by www.dnspark.com.
\n ". + "Configuration variables applicable to the 'easydns' protocol are:\n ". + "
protocol=dnspark | |
server=fqdn.of.service | defaults to www.dnspark.com |
backupmx=no|yes | indicates that DNSPark should be the secondary MX " . + "for this domain or host. |
mx=any.host.domain | a host MX'ing for this host or domain. |
mxpri=priority | MX priority. |
login=service-login | login name and password registered with the service |
password=service-password | |
fully.qualified.host | the host registered with the service. |
Example ddclient.conf file entries:
\n" . + "\n" . + "## single host update\n" . + "protocol=dnspark, \\\n" . + "login=my-dnspark.com-login, \\\n" . + "password=my-dnspark.com-password \\\n" . + "myhost.dnspark.com \n" . + "\n" . + "## multiple host update with wildcard'ing mx, and backupmx\n" . + "protocol=dnspark, \\\n" . + "login=my-dnspark.com-login, \\\n" . + "password=my-dnspark.com-password, \\\n" . + "mx=a.host.willing.to.mx.for.me, \\\n" . + "mxpri=10, \\\n" . + "my-toplevel-domain.com,my-other-domain.com\n" . + "\n" . + "## multiple host update to the custom DNS service\n" . + "protocol=dnspark, \\\n" . + "login=my-dnspark.com-login, \\\n" . + "password=my-dnspark.com-password \\\n" . + "my-toplevel-domain.com,my-other-domain.com\n" . + "\n" . + "
The 'dslreports1' protocol is used by a free DSL monitoring service\n" . +"offered by www.dslreports.com.
\n" . + +"Configuration variables applicable to the 'dslreports1' protocol are:
" . +"protocol=dslreports1 | |
server=fqdn.of.service | defaults to www.dslreports.com |
login=service-login | login name and password registered with the service |
password=service-password | |
unique-number | the host registered with the service. |
protocol=dyndns1 | |
server=fqdn.of.service | defaults to members.dyndns.org |
backupmx=no|yes | indicates that this host is the primary MX for the domain. |
mx=any.host.domain | a host MX'ing for this host definition. |
wildcard=no|yes | add a DNS wildcard CNAME record that points to {host} |
login=service-login | login name and password registered with the service |
password=service-password | |
fully.qualified.host | the host registered with the service. |
Example ddclient.conf file entries:
" . + "\n" . + "## single host update\n" . + "protocol=dyndns1, \\\n" . + "login=my-dyndns.org-login, \\\n" . + "password=my-dyndns.org-password \\\n" . + "myhost.dyndns.org \n" . +"\n" . + "## multiple host update with wildcard'ing mx, and backupmx\n" . + "protocol=dyndns1, \\\n" . + "login=my-dyndns.org-login, \\\n" . + "password=my-dyndns.org-password, \\\n" . + "mx=a.host.willing.to.mx.for.me,backupmx=yes,wildcard=yes \\\n" . + "myhost.dyndns.org,my2ndhost.dyndns.org \n" . + "
Note: you only need one of the examples
\n"; + +$main[] = $text; +// dyndns2 +$text['id'] = "dyndns2"; +$text['title'] = "dyndns2"; +$text['menu'] = "dyndns2"; +$text['body'] = +"The 'dyndns2' protocol is a newer low-bandwidth protocol used by a\n" . +"free dynamic DNS service offered by www.dyndns.org. It supports\n" . +"features of the older 'dyndns1' in addition to others. [These will be\n" . +"supported in a future version of ddclient.]
\n" . +"\n". +"Configuration variables applicable to the 'dyndns2' protocol are:
\n" . +"protocol=dyndns2 | |
server=fqdn.of.service | defaults to members.dyndns.org |
backupmx=no|yes | indicates that this host is the primary MX for the domain. |
static=no|yes | indicates that this host has a static IP address. |
custom=no|yes | indicates that this host is a 'custom' top-level domain name. |
mx=any.host.domain | a host MX'ing for this host definition. |
wildcard=no|yes | add a DNS wildcard CNAME record that points to {host} |
login=service-login | login name and password registered with the service |
password=service-password | |
fully.qualified.host | the host registered with the service. |
Example ddclient.conf file entries:
" . + "\n" . + "## single host update\n" . + "protocol=dyndns2, \\\n" . + "login=my-dyndns.org-login, \\\n" . + "password=my-dyndns.org-password \\\n" . + "myhost.dyndns.org \n" . +"\n" . + "## multiple host update with wildcard'ing mx, and backupmx\n" . + "protocol=dyndns2, \\\n" . + "login=my-dyndns.org-login, \\\n" . + "password=my-dyndns.org-password, \\\n" . + "mx=a.host.willing.to.mx.for.me,backupmx=yes,wildcard=yes \\\n" . + "myhost.dyndns.org,my2ndhost.dyndns.org \n" . +"\n" . + "## multiple host update to the custom DNS service\n" . + "protocol=dyndns2, \\\n" . + "login=my-dyndns.org-login, \\\n" . + "password=my-dyndns.org-password \\\n" . + "my-toplevel-domain.com,my-other-domain.com\n" . + "\n" . + "
Note: you only need one of the examples
\n"; + +$main[] = $text; +// easydns +$text['id'] = "easydns"; +$text['title'] = "easydns"; +$text['menu'] = "easydns"; +$text['body'] = +"The 'easydns' protocol is used by the for fee DNS service offered \n" . +"by www.easydns.com.
\n" . + +"Configuration variables applicable to the 'easydns' protocol are:\n". +"
protocol=easydns | |
server=fqdn.of.service | defaults to members.easydns.com |
backupmx=no|yes | indicates that EasyDNS should be the secondary MX for this domain or host. |
mx=any.host.domain | a host MX'ing for this host or domain. |
wildcard=no|yes | add a DNS wildcard CNAME record that points to {host} |
login=service-login | login name and password registered with the service |
password=service-password | |
fully.qualified.host | the host registered with the service. |
Example ddclient.conf file entries:
" . + "\n" . + "## single host update\n" . + "protocol=easydns, \\\n" . + "login=my-easydns.com-login, \\\n" . + "password=my-easydns.com-password \\\n" . + "myhost.easydns.com \n" . +"\n" . + "## multiple host update with wildcard'ing mx, and backupmx\n" . + "protocol=easydns, \\\n" . + "login=my-easydns.com-login, \\\n" . + "password=my-easydns.com-password, \\\n" . + "mx=a.host.willing.to.mx.for.me, \\\n" . + "backupmx=yes, \\\n" . + "wildcard=yes \\\n" . + "my-toplevel-domain.com,my-other-domain.com\n" . +"\n" . + "## multiple host update to the custom DNS service\n" . + "protocol=easydns, \\\n" . + "login=my-easydns.com-login, \\\n" . + "password=my-easydns.com-password \\\n" . + "my-toplevel-domain.com,my-other-domain.com\n" . + "\n" . + "
" . +"The 'hammernode1' protocol is the protocol used by the free dynamic \n" . +"DNS service offered by Hammernode at www.hn.org
\n" . + +"Configuration variables applicable to the 'hammernode1' protocol are: \n" . +"protocol=hammernode1 | |
server=fqdn.of.service | defaults to members.dyndns.org |
login=service-login | login name and password registered with the service |
password=service-password | |
fully.qualified.host | the host registered with the service. |
Example ddclient.conf file entries:
\n" . + "\n" . + "## single host update\n" . + "protocol=hammernode1, \\\n" . + "login=my-hn.org-login, \\\n" . + "password=my-hn.org-password \\\n" . + "myhost.hn.org \n" . +"\n" . + "## multiple host update\n" . + "protocol=hammernode1, \\\n" . + "login=my-hn.org-login, \\\n" . + "password=my-hn.org-password, \\\n" . + "myhost.hn.org,my2ndhost.hn.org\n" . + "\n" . + "
The 'namecheap' protocol is used by DNS service offered by www.namecheap.com.
\n" . +"\n" . +"Configuration variables applicable to the 'easydns' protocol are:
\n" . +"protocol=namecheap | |
server=fqdn.of.service | defaults to dynamicdns.park-your-domain.com |
login=service-login | login name and password registered with the service |
password=service-password | |
fully.qualified.host | the host registered with the service. |
Example ddclient.conf file entries:
". + "\n" . + "## single host update\n" . + "protocol=namecheap, \\\n" . + "login=my-namecheap.com-login, \\\n" . + "password=my-namecheap.com-password \\\n" . + "myhost.namecheap.com \n" . + "\n" . + "
The 'zoneedit1' protocol is used by a DNS service offered by +www.zoneedit.com.
\n" . + +"Configuration variables applicable to the 'zoneedit1' protocol are:
\n" . + "Example ddclient.conf file entries:
\n" . + "\n" . + "## single host update\n" . + "protocol=zoneedit1, \\\n" . + "server=www.zoneedit.com, \\\n" . + "login=my-zoneedit-login, \\\n" . + "password=my-zoneedit-password \\\n" . + "my.domain.name\n" . + "\n" . + "## multiple host update \\\n" . + "protocol=zoneedit1, \\\n" . + "server=www.zoneedit.com, \\\n" . + "login=my-zoneedit-login, \\\n" . + "password=my-zoneedit-password \\\n" . + "my.domain.name,my2nd.domain.com\n" . + "\n" . + "
Ddclient supports a lot of different routers. To configure ". + "your favorit router, modify your use-line in your configuration ". + "to something like -use=linksys-ver2. Don't forget to put your ". + "router password and login in the configuration.". + "
". + "". + "If your favorit router isn't here, try to run ddclient --help. \n". + "This list is rather incomplete so there are a few more routers \n". + "supported by the most recent version of ddclient. \n". + "
"; + $main[] = $text; + + $text['id'] = "nonrouter"; + $text['title'] = "Non router option"; + $text['menu'] = "Non router"; + $text['body'] = + "-use=web | obtain IP from an IP discovery page on the web. This is the default way if none is specified |
-use=if | obtain IP from the -if {interface}. |
-use=ip | obtain IP from -ip {address}. |
-use=cmd | obtain IP from the -cmd {external-command}. |
-use=fw | obtain IP from the firewall specified by -fw {type|address}. |
-use=3com-3c886a | obtain IP from 3com 3c886a 56k Lan Modem at the -fw {address}. |
-use=3com-oc-remote812 | obtain IP from 3com OfficeConnect Remote 812 at the -fw {address}. |
-use=alcatel-stp | obtain IP from Alcatel Speed Touch Pro at the -fw {address}. |
-use=allnet-1298 | obtain IP from Allnet 1298 at the -fw {address}. |
-use=cayman-3220h | obtain IP from Cayman 3220-H DSL at the -fw {address}. |
-use=cisco | obtain IP from Cisco FW at the -fw {address}. |
-use=dlink-604 | obtain IP from D-Link DI-604 at the -fw {address}. |
-use=dlink-614 | obtain IP from D-Link DI-614+ at the -fw {address}. |
-use=e-tech | obtain IP from E-tech Router at the -fw {address}. |
-use=elsa-lancom-dsl10 | obtain IP from ELSA LanCom DSL/10 DSL FW at the -fw {address}. |
-use=elsa-lancom-dsl10-ch01 | obtain IP from ELSA LanCom DSL/10 DSL FW (isdn ch01) at the -fw {address}. |
-use=elsa-lancom-dsl10-ch02 | obtain IP from ELSA LanCom DSL/10 DSL FW (isdn ch01) at the -fw {address}. |
-use=linksys | obtain IP from Linksys FW at the -fw {address}. |
-use=linksys2 | obtain IP from Linksys FW ver 2 at the -fw {address}. |
-use=maxgate-ugate3x00 | obtain IP from MaxGate UGATE-3x00 FW at the -fw {address}. |
-use=netgear-rt3xx | obtain IP from Netgear FW at the -fw {address}. |
-use=netopia-r910 | obtain IP from Netopia R910 FW at the -fw {address}. |
-use=smc-barricade | obtain IP from SMC Barricade FW at the -fw {address}. |
-use=sohoware-nbg800 | obtain IP from SOHOWare BroadGuard NBG800 at the -fw {address}. |
-use=vigor-2200usb | obtain IP from Vigor 2200 USB at the -fw {address}. |
-use=watchguard-soho | obtain IP from Watchguard SOHO FW at the -fw {address}. |
-use=xsense-aero | obtain IP from Xsense Aero at the -fw {address}. |
Remember, if your router isn't here, check the result of ddclient --help
"; + $main[] = $text; +?>