Merge pull request #126 from rhansen/quote-here-doc
This commit is contained in:
commit
dc81105781
1 changed files with 27 additions and 27 deletions
54
ddclient
54
ddclient
|
@ -2387,7 +2387,7 @@ sub nic_examples {
|
||||||
$separator = "\n";
|
$separator = "\n";
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
my $intro = <<EoEXAMPLE;
|
my $intro = <<'EoEXAMPLE';
|
||||||
== CONFIGURING ${program}
|
== CONFIGURING ${program}
|
||||||
|
|
||||||
The configuration file, ${program}.conf, can be used to define the
|
The configuration file, ${program}.conf, can be used to define the
|
||||||
|
@ -2566,7 +2566,7 @@ sub header_ok {
|
||||||
## nic_dyndns1_examples
|
## nic_dyndns1_examples
|
||||||
######################################################################
|
######################################################################
|
||||||
sub nic_dyndns1_examples {
|
sub nic_dyndns1_examples {
|
||||||
return <<EoEXAMPLE;
|
return <<'EoEXAMPLE';
|
||||||
o 'dyndns1'
|
o 'dyndns1'
|
||||||
|
|
||||||
The 'dyndns1' protocol is a deprecated protocol used by the free dynamic
|
The 'dyndns1' protocol is a deprecated protocol used by the free dynamic
|
||||||
|
@ -2679,7 +2679,7 @@ sub nic_dyndns2_updateable {
|
||||||
## nic_dyndns2_examples
|
## nic_dyndns2_examples
|
||||||
######################################################################
|
######################################################################
|
||||||
sub nic_dyndns2_examples {
|
sub nic_dyndns2_examples {
|
||||||
return <<EoEXAMPLE;
|
return <<'EoEXAMPLE';
|
||||||
o 'dyndns2'
|
o 'dyndns2'
|
||||||
|
|
||||||
The 'dyndns2' protocol is a newer low-bandwidth protocol used by a
|
The 'dyndns2' protocol is a newer low-bandwidth protocol used by a
|
||||||
|
@ -2954,7 +2954,7 @@ sub nic_noip_update {
|
||||||
## nic_noip_examples
|
## nic_noip_examples
|
||||||
######################################################################
|
######################################################################
|
||||||
sub nic_noip_examples {
|
sub nic_noip_examples {
|
||||||
return <<EoEXAMPLE;
|
return <<'EoEXAMPLE';
|
||||||
o 'noip'
|
o 'noip'
|
||||||
|
|
||||||
The 'No-IP Compatible' protocol is used to make dynamic dns updates
|
The 'No-IP Compatible' protocol is used to make dynamic dns updates
|
||||||
|
@ -2983,7 +2983,7 @@ EoEXAMPLE
|
||||||
## nic_concont_examples
|
## nic_concont_examples
|
||||||
######################################################################
|
######################################################################
|
||||||
sub nic_concont_examples {
|
sub nic_concont_examples {
|
||||||
return <<EoEXAMPLE;
|
return <<'EoEXAMPLE';
|
||||||
o 'concont'
|
o 'concont'
|
||||||
|
|
||||||
The 'concont' protocol is the protocol used by the content management
|
The 'concont' protocol is the protocol used by the content management
|
||||||
|
@ -3066,7 +3066,7 @@ sub nic_concont_update {
|
||||||
## nic_dslreports1_examples
|
## nic_dslreports1_examples
|
||||||
######################################################################
|
######################################################################
|
||||||
sub nic_dslreports1_examples {
|
sub nic_dslreports1_examples {
|
||||||
return <<EoEXAMPLE;
|
return <<'EoEXAMPLE';
|
||||||
o 'dslreports1'
|
o 'dslreports1'
|
||||||
|
|
||||||
The 'dslreports1' protocol is used by a free DSL monitoring service
|
The 'dslreports1' protocol is used by a free DSL monitoring service
|
||||||
|
@ -3139,7 +3139,7 @@ sub nic_dslreports1_update {
|
||||||
## nic_hammernode1_examples
|
## nic_hammernode1_examples
|
||||||
######################################################################
|
######################################################################
|
||||||
sub nic_hammernode1_examples {
|
sub nic_hammernode1_examples {
|
||||||
return <<EoEXAMPLE;
|
return <<'EoEXAMPLE';
|
||||||
o 'hammernode1'
|
o 'hammernode1'
|
||||||
|
|
||||||
The 'hammernode1' protocol is the protocol used by the free dynamic
|
The 'hammernode1' protocol is the protocol used by the free dynamic
|
||||||
|
@ -3209,7 +3209,7 @@ sub nic_hammernode1_update {
|
||||||
## nic_zoneedit1_examples
|
## nic_zoneedit1_examples
|
||||||
######################################################################
|
######################################################################
|
||||||
sub nic_zoneedit1_examples {
|
sub nic_zoneedit1_examples {
|
||||||
return <<EoEXAMPLE;
|
return <<'EoEXAMPLE';
|
||||||
o 'zoneedit1'
|
o 'zoneedit1'
|
||||||
|
|
||||||
The 'zoneedit1' protocol is used by a DNS service offered by
|
The 'zoneedit1' protocol is used by a DNS service offered by
|
||||||
|
@ -3343,7 +3343,7 @@ sub nic_easydns_updateable {
|
||||||
## nic_easydns_examples
|
## nic_easydns_examples
|
||||||
######################################################################
|
######################################################################
|
||||||
sub nic_easydns_examples {
|
sub nic_easydns_examples {
|
||||||
return <<EoEXAMPLE;
|
return <<'EoEXAMPLE';
|
||||||
o 'easydns'
|
o 'easydns'
|
||||||
|
|
||||||
The 'easydns' protocol is used by the for fee DNS service offered
|
The 'easydns' protocol is used by the for fee DNS service offered
|
||||||
|
@ -3482,7 +3482,7 @@ sub nic_easydns_update {
|
||||||
## nic_namecheap_examples
|
## nic_namecheap_examples
|
||||||
######################################################################
|
######################################################################
|
||||||
sub nic_namecheap_examples {
|
sub nic_namecheap_examples {
|
||||||
return <<EoEXAMPLE;
|
return <<'EoEXAMPLE';
|
||||||
|
|
||||||
o 'namecheap'
|
o 'namecheap'
|
||||||
|
|
||||||
|
@ -3566,7 +3566,7 @@ sub nic_namecheap_update {
|
||||||
## nic_nfsn_examples
|
## nic_nfsn_examples
|
||||||
######################################################################
|
######################################################################
|
||||||
sub nic_nfsn_examples {
|
sub nic_nfsn_examples {
|
||||||
return <<EoEXAMPLE;
|
return <<'EoEXAMPLE';
|
||||||
|
|
||||||
o 'nfsn'
|
o 'nfsn'
|
||||||
|
|
||||||
|
@ -3790,7 +3790,7 @@ sub nic_nfsn_update {
|
||||||
## nic_sitelutions_examples
|
## nic_sitelutions_examples
|
||||||
######################################################################
|
######################################################################
|
||||||
sub nic_sitelutions_examples {
|
sub nic_sitelutions_examples {
|
||||||
return <<EoEXAMPLE;
|
return <<'EoEXAMPLE';
|
||||||
|
|
||||||
o 'sitelutions'
|
o 'sitelutions'
|
||||||
|
|
||||||
|
@ -3870,7 +3870,7 @@ sub nic_sitelutions_update {
|
||||||
## nic_freedns_examples
|
## nic_freedns_examples
|
||||||
######################################################################
|
######################################################################
|
||||||
sub nic_freedns_examples {
|
sub nic_freedns_examples {
|
||||||
return <<EoEXAMPLE;
|
return <<'EoEXAMPLE';
|
||||||
|
|
||||||
o 'freedns'
|
o 'freedns'
|
||||||
|
|
||||||
|
@ -3970,7 +3970,7 @@ sub nic_freedns_update {
|
||||||
## nic_changeip_examples
|
## nic_changeip_examples
|
||||||
######################################################################
|
######################################################################
|
||||||
sub nic_changeip_examples {
|
sub nic_changeip_examples {
|
||||||
return <<EoEXAMPLE;
|
return <<'EoEXAMPLE';
|
||||||
|
|
||||||
o 'changeip'
|
o 'changeip'
|
||||||
|
|
||||||
|
@ -4044,7 +4044,7 @@ sub nic_changeip_update {
|
||||||
## nic_dtdns_examples
|
## nic_dtdns_examples
|
||||||
######################################################################
|
######################################################################
|
||||||
sub nic_dtdns_examples {
|
sub nic_dtdns_examples {
|
||||||
return <<EoEXAMPLE;
|
return <<'EoEXAMPLE';
|
||||||
o 'dtdns'
|
o 'dtdns'
|
||||||
|
|
||||||
The 'dtdns' protocol is the protocol used by the dynamic hostname services
|
The 'dtdns' protocol is the protocol used by the dynamic hostname services
|
||||||
|
@ -4126,7 +4126,7 @@ sub nic_dtdns_update {
|
||||||
##
|
##
|
||||||
######################################################################
|
######################################################################
|
||||||
sub nic_googledomains_examples {
|
sub nic_googledomains_examples {
|
||||||
return <<EoEXAMPLE;
|
return <<'EoEXAMPLE';
|
||||||
o 'googledomains'
|
o 'googledomains'
|
||||||
|
|
||||||
The 'googledomains' protocol is used by DNS service offered by www.google.com/domains.
|
The 'googledomains' protocol is used by DNS service offered by www.google.com/domains.
|
||||||
|
@ -4198,7 +4198,7 @@ sub nic_googledomains_update {
|
||||||
## nic_nsupdate_examples
|
## nic_nsupdate_examples
|
||||||
######################################################################
|
######################################################################
|
||||||
sub nic_nsupdate_examples {
|
sub nic_nsupdate_examples {
|
||||||
return <<EoEXAMPLE;
|
return <<'EoEXAMPLE';
|
||||||
o 'nsupdate'
|
o 'nsupdate'
|
||||||
|
|
||||||
The 'nsupdate' protocol is used to submit Dynamic DNS Update requests as
|
The 'nsupdate' protocol is used to submit Dynamic DNS Update requests as
|
||||||
|
@ -4275,17 +4275,17 @@ sub nic_nsupdate_update {
|
||||||
verbose("UPDATE:", "updating %s", $hosts);
|
verbose("UPDATE:", "updating %s", $hosts);
|
||||||
|
|
||||||
## send separate requests for each zone with all hosts in that zone
|
## send separate requests for each zone with all hosts in that zone
|
||||||
my $instructions = <<EoINSTR1;
|
my $instructions = <<'EoINSTR1';
|
||||||
server $server
|
server $server
|
||||||
zone $zone.
|
zone $zone.
|
||||||
EoINSTR1
|
EoINSTR1
|
||||||
foreach (@hosts) {
|
foreach (@hosts) {
|
||||||
$instructions .= <<EoINSTR2;
|
$instructions .= <<'EoINSTR2';
|
||||||
update delete $_. $recordtype
|
update delete $_. $recordtype
|
||||||
update add $_. $config{$_}{'ttl'} $recordtype $ip
|
update add $_. $config{$_}{'ttl'} $recordtype $ip
|
||||||
EoINSTR2
|
EoINSTR2
|
||||||
}
|
}
|
||||||
$instructions .= <<EoINSTR3;
|
$instructions .= <<'EoINSTR3';
|
||||||
send
|
send
|
||||||
EoINSTR3
|
EoINSTR3
|
||||||
my $command = "$binary -k $keyfile";
|
my $command = "$binary -k $keyfile";
|
||||||
|
@ -4318,7 +4318,7 @@ EoINSTR3
|
||||||
##
|
##
|
||||||
######################################################################
|
######################################################################
|
||||||
sub nic_cloudflare_examples {
|
sub nic_cloudflare_examples {
|
||||||
return <<EoEXAMPLE;
|
return <<'EoEXAMPLE';
|
||||||
o 'cloudflare'
|
o 'cloudflare'
|
||||||
|
|
||||||
The 'cloudflare' protocol is used by DNS service offered by www.cloudflare.com.
|
The 'cloudflare' protocol is used by DNS service offered by www.cloudflare.com.
|
||||||
|
@ -4473,7 +4473,7 @@ sub nic_cloudflare_update {
|
||||||
## nic_yandex_examples
|
## nic_yandex_examples
|
||||||
######################################################################
|
######################################################################
|
||||||
sub nic_yandex_examples {
|
sub nic_yandex_examples {
|
||||||
return <<EoEXAMPLE;
|
return <<'EoEXAMPLE';
|
||||||
o Yandex
|
o Yandex
|
||||||
|
|
||||||
The 'yandex' protocol is used to by DNS service offered by Yandex.
|
The 'yandex' protocol is used to by DNS service offered by Yandex.
|
||||||
|
@ -4588,7 +4588,7 @@ sub nic_yandex_update {
|
||||||
## nic_duckdns_examples
|
## nic_duckdns_examples
|
||||||
######################################################################
|
######################################################################
|
||||||
sub nic_duckdns_examples {
|
sub nic_duckdns_examples {
|
||||||
return <<EoEXAMPLE;
|
return <<'EoEXAMPLE';
|
||||||
o 'duckdns'
|
o 'duckdns'
|
||||||
|
|
||||||
The 'duckdns' protocol is used by the free
|
The 'duckdns' protocol is used by the free
|
||||||
|
@ -4665,7 +4665,7 @@ sub nic_duckdns_update {
|
||||||
## nic_freemyip_examples
|
## nic_freemyip_examples
|
||||||
######################################################################
|
######################################################################
|
||||||
sub nic_freemyip_examples {
|
sub nic_freemyip_examples {
|
||||||
return <<EoEXAMPLE;
|
return <<'EoEXAMPLE';
|
||||||
o 'freemyip'
|
o 'freemyip'
|
||||||
|
|
||||||
The 'freemyip' protocol is used by the free
|
The 'freemyip' protocol is used by the free
|
||||||
|
@ -4736,7 +4736,7 @@ sub nic_freemyip_update {
|
||||||
## nic_woima_examples
|
## nic_woima_examples
|
||||||
######################################################################
|
######################################################################
|
||||||
sub nic_woima_examples {
|
sub nic_woima_examples {
|
||||||
return <<EoEXAMPLE;
|
return <<'EoEXAMPLE';
|
||||||
o 'woima'
|
o 'woima'
|
||||||
|
|
||||||
The 'woima' protocol is used by the free
|
The 'woima' protocol is used by the free
|
||||||
|
@ -4906,7 +4906,7 @@ sub nic_woima_update {
|
||||||
## nic_dondominio_examples
|
## nic_dondominio_examples
|
||||||
######################################################################
|
######################################################################
|
||||||
sub nic_dondominio_examples {
|
sub nic_dondominio_examples {
|
||||||
return <<EoEXAMPLE;
|
return <<'EoEXAMPLE';
|
||||||
o 'dondominio'
|
o 'dondominio'
|
||||||
The 'dondominio' protocol is used by DNS service offered by www.dondominio.com/ .
|
The 'dondominio' protocol is used by DNS service offered by www.dondominio.com/ .
|
||||||
API information and user instructions available at: https://dev.dondominio.com/dondns/docs/api/
|
API information and user instructions available at: https://dev.dondominio.com/dondns/docs/api/
|
||||||
|
@ -4980,7 +4980,7 @@ sub nic_dondominio_update {
|
||||||
## nic_dnsmadeeasy_examples
|
## nic_dnsmadeeasy_examples
|
||||||
######################################################################
|
######################################################################
|
||||||
sub nic_dnsmadeeasy_examples {
|
sub nic_dnsmadeeasy_examples {
|
||||||
return <<EoEXAMPLE;
|
return <<'EoEXAMPLE';
|
||||||
o 'dnsmadeeasy'
|
o 'dnsmadeeasy'
|
||||||
|
|
||||||
The 'dnsmadeeasy' protocol is used by the DNS Made Easy service at https://www.dnsmadeeasy.com.
|
The 'dnsmadeeasy' protocol is used by the DNS Made Easy service at https://www.dnsmadeeasy.com.
|
||||||
|
|
Loading…
Reference in a new issue