Open vvdan opened 4 years ago
Also tried with 'domain' => array('test1.com',''test2.com'),
still updates first one only
Hm, you're correct, that's a limitation of the script. But you can use the updated domain as a CNAME
record for the other domains in order to get the same IP there.
Something like this should work:
One way you could go is to make multiple config.php
files (one for each domain) and pass the config name to the ddns.php
script when you run it. You'd have to make a small change in ddns.php
to take the config path as an argument. Would that work for you?
I also like @schliflo's suggestion
Hi,
This may seem silly but I can't seem to add multiple domains.
Im not really great with php/programming but I can't seem to run this for multiple domains, it seems like it's only update the first one.
Here are my settings:
Am I doing anything wrong?
Kindest regards, Dan