If you have domains in CDmon and want to map them to a dynamic IP, then you have to:
- Configure a DynDNS user:
- user
- password
Please note that those login details are not the ones to access the customer area.
Then point the domain DNS to the dynamic addresses from CDmon (more details in the links below).
And then associate the domain with the Dynamic DNS user.
From that point onwards, you can use this script to update the Dynamic DNS service provided by CDmon (https//cdmon.com).
Instructions from CDmon about how to trigger Dynamic DNS updates:
Python 3.x
ipgetter2 library
$ python3 cdmon_dyndns.py -c
You'll be prompted to enter user name and password.
If you'd rather enter those details directly:
$ python3 cdmon_dyndns.py -c -u {username} -p {password}
Where {username}
and {password}
are placeholders for your actual login details.
Note: password will be only stored in MD5 encrypted manner.
$ python3 cdmon_dyndns.py -cs [-u {username} -p {password}]
-c
will prevent the script from requesting an IP address.
The block between backets is optional.
$ python3 cdmon_dyndns.py -lg
The IP address will be automatically retrieved.
$ python3 cdmon_dyndns.py -i {IP_address}
Where {IP_address}
is a placeholder for the actual IP address to use for the update request.
$ python3 cdmon_dyndns.py -v
from cdmon_dyndns import send_request
send_request(user, md5pass) # this will only check if the login succeeds
send_request(user, md5pass, ip) # this will also try to update the IP
Please note that several other option combinations may also be possible.
You may get more information about the available options by either reading
the cdmon_dyndns.py
script, or by invoking its argparse help:
$ python3 cdmon_dyndns.py -h
or:
$ python3 cdmon_dyndns.py --help