Setting up namecheap Dyn. DNS

If your problem doesn't fall into one of the other categories, report it here.

Moderator: Moderators

Post Reply
thache

Setting up namecheap Dyn. DNS

Post by thache »

The default Namecheap preset for DDNS doesn't work right, however to get it to work I modify /etc/ddns_providers.conf
from:

Code: Select all

service namecheap.com
        url_template                    https://dynamicdns.park-your-domain.com/update?host=[[HOST_PART]]&domain=[[DOMAIN_PART]]&password=[[PASSWORD]]&ip=[[IP]]
        required_variables              domain password
        required_variable_names         Domain Name,Password
        meta_variables                  host_part domain_part
        host_part                       echo "[[DOMAIN]]" | sed -e 's/.*$//g'
        domain_part                     echo "[[DOMAIN]]" | grep -o "\..*$" | sed -e 's/^\.//g'
        meta_variables_to_cache         host_part domain_part
        success_regexp                  /ErrCount.0..ErrCount/
to a simpler version(no regular expressions):

Code: Select all

service namecheap.com
        url_template                    https://dynamicdns.park-your-domain.com/update?host=[[HOST]]&domain=[[DOMAIN]]&password=[[PASSWORD]]&ip=[[IP]]
        required_variables              host domain password
        required_variable_names         Hostname,Domain Name,Password
        success_regexp                  /ErrCount.0..ErrCount/

Post Reply