fix: add test case for syncing PTR records #35
+77
−8
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Discussion: Responsibility for Restoring Missing PTR Records in Infoblox Webhook
Issue: Inconsistent Handling of PTR Record Restoration
Description of the Problem
We encountered an issue where missing PTR records in Infoblox are not automatically restored. This leads to inconsistencies where an A record exists, but its corresponding PTR record is absent.
Currently, we have observed two scenarios:
Stale PTR Records Exist
PTR Record is Missing
Root Cause
There is no clear ownership of PTR record restoration:
external-dns
detect and recreate missing PTR records?Currently,
external-dns
primarily manages A records, but there is an expectation that PTR records should be automatically restored when missing. However, without a clear decision on responsibility, this issue can lead to inconsistent DNS states.Proposed Next Steps
This PR introduces a test case to highlight the problem. Before implementing a fix, we need to decide:
external-dns
proactively restore missing PTR records?We request input from maintainers and users to determine the best approach.
Impact of This Change
Next Actions
external-dns
or the Infoblox webhook should handle missing PTR records.