Skip to content
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

When using Route53 DelegationSets, only get DelegationSet info when needed #2963

Open
hallorans-nca opened this issue May 17, 2024 · 1 comment

Comments

@hallorans-nca
Copy link

Is your feature request related to a problem? Please describe.
I have a large number of DelegationSets configured, but when I use dnscontrol with the --domains parameter, all DelegationSets are probed

In the example below, the example below takes over 4 minutes to complete, almost all of the time is taken by the 'ROUTE53 DelegationSet .... configured' step

preview

dnscontrol preview --domains=zzzdnscontroldebug.com.au
ROUTE53 DelegationSet N....Q configured
ROUTE53 DelegationSet N....P configured
ROUTE53 DelegationSet N....B configured
...........
ROUTE53 DelegationSet N....M configured
ROUTE53 DelegationSet N....U configured
2024/05/17 13:51:22 1 Validation errors:
2024/05/17 13:51:22 WARNING: 11 spf record lookups are out of date with cache (....).
Wrote changes to spfcache.updated.json. Please rename and commit:
$ mv spfcache.updated.json spfcache.json
$ git commit -m 'Update spfcache.json' spfcache.json
******************** Domain: zzzdnscontroldebug.com.au
WARNING: Zone 'zzzdnscontroldebug.com.au' does not exist in the 'r53...n...m' profile and will be added automatically.
WARNING: No nameservers declared; skipping registrar. Add {no_ns:'true'} to force.

Describe the solution you'd like
When using the --domains parameter, only get the DelegationSet information when needed, for the domains needed

Describe alternatives you've considered
As a work around, I have updated the dnsconfig.js file to just require the one file, doing the change, and then reverting back to require_glob

Additional context
Add any other context or screenshots about the feature request here.

@tlimoncelli
Copy link
Contributor

CC @tresni (route53 maintainer)

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

No branches or pull requests

2 participants