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

Check hosted zone changes INSYNC #159

Merged
merged 59 commits into from
Sep 24, 2024
Merged

Check hosted zone changes INSYNC #159

merged 59 commits into from
Sep 24, 2024

Conversation

tamsinforbes
Copy link
Contributor

@tamsinforbes tamsinforbes commented Aug 30, 2024

👀 Purpose

  • To check the change status

♻️ What's changed

  • ✨Workflow to check the change status of a recently implemented change
  • ✨Script to collect the list of changed hosted zone files, and from these collect the hosted zone names, IDs, poll CloudTrail for the most recent changes to these and collect the change ID then collect the latest info on that change ID
  • ✨Added CloudTrail service to collect the latest n change resource record sets
  • ✨Added to the Route53 provider class a method to collect the change status given a change ID.
  • 🧪 Suite of tests

📝 Notes

  • Set to run on workflow_run after successful completion of the OctoDNS Sync workflow - ought to collect the code delta from the merging PR to get the list of hosted zone names that have been changed (this is usually one only).
  • AWS should propagate changes to their DNS authoritative resolvers within 60 secs

@tamsinforbes tamsinforbes requested a review from a team as a code owner August 30, 2024 13:52
Copy link

github-actions bot commented Aug 30, 2024

🦙 MegaLinter status: ✅ SUCCESS

Descriptor Linter Files Fixed Errors Elapsed time
✅ YAML prettier 1 1 0 0.26s
✅ YAML yamllint 1 0 0.18s

See detailed report in MegaLinter reports
Set VALIDATE_ALL_CODEBASE: true in mega-linter.yml to validate all sources, not only the diff

MegaLinter is graciously provided by OX Security

@tamsinforbes tamsinforbes marked this pull request as draft August 30, 2024 13:52
@tamsinforbes tamsinforbes self-assigned this Aug 30, 2024
@tamsinforbes tamsinforbes marked this pull request as ready for review September 17, 2024 12:09
@tamsinforbes tamsinforbes marked this pull request as draft September 17, 2024 14:19
@tamsinforbes
Copy link
Contributor Author

How quickly will changes I make to my DNS settings on Amazon Route 53 propagate globally?

Amazon Route 53 is designed to propagate updates you make to your DNS records to its world-wide network of authoritative DNS servers within 60 seconds under normal conditions. A change is successfully propagated world-wide when the API call returns an INSYNC status listing.
Note that caching DNS resolvers are outside the control of the Amazon Route 53 service and will cache your resource record sets according to their time to live (TTL). The INSYNC or PENDING status of a change refers only to the state of Route 53’s authoritative DNS servers.

@tamsinforbes tamsinforbes marked this pull request as ready for review September 24, 2024 09:01
@tamsinforbes tamsinforbes merged commit 0994dc0 into main Sep 24, 2024
2 checks passed
@tamsinforbes tamsinforbes deleted the dns-status-ping branch September 24, 2024 13:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: ✅ Done
Development

Successfully merging this pull request may close these issues.

How do we know a DNS change has actually been deployed?
2 participants