8000 Retrieve record information causes to fetch all records · Issue #7 · soniah/dnsmadeeasy · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Retrieve record information causes to fetch all records #7

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
abriel opened this issue Dec 28, 2017 · 0 comments
Open

Retrieve record information causes to fetch all records #7

abriel opened this issue Dec 28, 2017 · 0 comments

Comments

@abriel
Copy link
abriel commented Dec 28, 2017

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant
0