ethanpil / dyndns-cpanel

Dynamic DNS update script for CPanel accounts with DYNDNS.com API
36 stars 15 forks source link

No hosts found #3

Closed mattlyons0 closed 9 years ago

mattlyons0 commented 9 years ago

It may be worth noting that for some reason under certain server configurations 'customonly' must be set to 0 in order to find subdomain records. This is regarding line 209 https://github.com/ethanpil/dyndns-cpanel/blob/master/dyndns.php#L209

It might be useful to put this in the error message or in the readme.

ethanpil commented 9 years ago

Thanks for the feedback. Do you know which circumstances might require this?

mattlyons0 commented 9 years ago

I have a shared server with eleven2, I made the sub domain through the cpanel web interface and for whatever reason the real domains (ex sub.example.com, example.com) aren't listed as custom records. But things like autodiscover.sub.example.com and autodiscover.example.com are listed as custom.

ethanpil commented 9 years ago

Done. thanks.