These changes update the Linode DNS scripts to use the current V4 API.
In addition, the domain matching has been corrected and improved, by searching the list of returned domains for the longest matching domain. This correctly handles situations where the domain name has more than two components (such as domain.co.uk), and also where a sub-domain is also stored on the same account.
Fixes #831
These changes update the Linode DNS scripts to use the current V4 API.
In addition, the domain matching has been corrected and improved, by searching the list of returned domains for the longest matching domain. This correctly handles situations where the domain name has more than two components (such as
domain.co.uk
), and also where a sub-domain is also stored on the same account.