-
Notifications
You must be signed in to change notification settings - Fork 408
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
INWX: Does not work with more than 20 Domains #2512
Comments
CC @patschi (provider maintainer for INWX) |
FYI this broke in 4.2.0 Going back down to 4.1.1 is a workaround until fixed |
That's interesting... The only two changes as per history are: #2428 and #2430. Both of them were not changing anything in regards to the Also the last change with the goinwx dependency is more than 7 months ago - way before dnscontrol 4.1.1 was released. @tlimoncelli Do you know if I still need to find some time reproducing and debugging, hopefully on the weekend. I should be able to create a few domains on their sandbox. |
Can this be closed? |
No - i still can't access domains past position 20 in INWX provider... i still believe, its because the list of domains does not get fetched paginated: dnscontrol/providers/inwx/inwxProvider.go Lines 403 to 416 in 08afef7
unlike in the dnsimple provider for example: dnscontrol/providers/dnsimple/dnsimpleProvider.go Lines 596 to 614 in 08afef7
|
Got much going on here. I'll try to get to it this weekend. Sorry!
Have you got some input on #2512 (comment)? Because Joachim mentions it is working in 4.1.1, but not 4.2.0 and later. |
this actually wasn't my comment :) i haven't tested 4.1.1 and now cannot confirm that it worked because of the recent breaking-change (see #2550) |
Sorry, indeed. Mixed you up. I don't think that older versions work here, as it seems to be indeed related to paging present from INWX API even before. I have proposed a simple fix in PR #2566 right now. Tested and working fine. |
@patschi Would you please submit a PR that documents this? I think anyone that reads |
Describe the bug
Following the Quickstart Guide i've ran into the error:
After a lot of debugging i finally figured, that
dnscontrol
only works with the first 20 domains in my account.This is because the
goinwx
client or the INWX-API in general has paginated results, but the INWX-Provider in dnscontrol only fetches the first page.See:
dnscontrol/providers/inwx/inwxProvider.go
Lines 403 to 416 in 194c471
and: https://github.com/nrdcg/goinwx/blob/073f789977c3777041908f6a9990ebd1fdc356a1/domain.go#L329
To Reproduce
Steps to reproduce the behavior:
Expected behavior
All domains should be recursively fetched from INWX.
DNS Provider
Additional context
I initially thought, the problem was with omitting
DnsProvider(DNS_INWX)
in thednsconfig.js
(see closed #2511) but this just prevented the missing records to throw an error - sorry for the confusion.The text was updated successfully, but these errors were encountered: