diff --git a/ddclient b/ddclient index 6053c1c..f5b39e6 100755 --- a/ddclient +++ b/ddclient @@ -483,6 +483,12 @@ my %variables = ( 'warned-min-interval' => setv(T_ANY, 0, 1, 0, 0, undef), 'warned-min-error-interval' => setv(T_ANY, 0, 1, 0, 0, undef), }, + 'dnsexit-common-defaults' => { + 'ssl' => setv(T_BOOL, 0, 1, 0, 0, undef), + 'use' => setv(T_USE, 0, 1, 1, 'web',undef), + 'server' => setv(T_FQDNP, 0, 1, 1, 'update.dnsexit.com', undef), + 'script' => setv(T_STRING, 0, 1, 1, '/RemoteUpdate.sv', undef), ++ }, ); my %services = ( 'dyndns1' => { @@ -685,6 +691,15 @@ my %services = ( $variables{'woima-service-common-defaults'}, ), }, + 'dnsexit' => { + 'updateable' => undef, + 'update' => \&nic_dnsexit_update, + 'examples' => \&nic_dnsexit_examples, + 'variables' => merge( + $variables{'dnsexit-common-defaults'}, + $variables{'service-common-defaults'}, + ), + }, ); $variables{'merged'} = merge($variables{'global-defaults'}, $variables{'service-common-defaults'}, @@ -4670,8 +4685,88 @@ sub nic_woima_update { if $state ne 'results2'; } } +###################################################################### +## nic_dnsexit_examples +###################################################################### +sub nic_dnsexit_examples { + return <