-
Notifications
You must be signed in to change notification settings - Fork 7
Description
Hi,
In the ReadRecord function we know domain_id and record_id,
but endpoint function generates URL that makes us to fetch all records from domain (https://github.com/soniah/dnsmadeeasy/blob/master/record.go#L62).
That is pretty heavy operation for big domains.
DME sais (https://api-docs.dnsmadeeasy.com/#19cc7399-6173-4670-c0dd-94f8e848d75c)
that there is URL /dns/managed/{domainId}/records/{recordId} which accept method GET that returns exactly what we need. (Returns the record object representation of the specified domain.).
I believe that is added by DME recently, because no one another library uses it.
Your library is used by https://github.com/terraform-providers/terraform-provider-dme and DME already complains us in generating a lot of traffic.
Thanks.