-
Notifications
You must be signed in to change notification settings - Fork 2.6k
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
Latest version of external-dns is making 2 TXT records per A record for some reason #3167
Comments
@sharkymcdongles: This is the expected behavior after the introduction of the new TXT record format: registry.md. |
Ah nice thanks. Not sure how I missed that. Silly me. I do think a toggle
to kill the old format would be nice for those who have no concerns with
downgrading or issues.
…On Thu, 17 Nov 2022, 19:35 Andrey Lebedev, ***@***.***> wrote:
@sharkymcdongles <https://github.com/sharkymcdongles>: This is the
expected behavior after the introduction of the new TXT record format:
registry.md
<https://github.com/kubernetes-sigs/external-dns/blob/master/docs/registry.md>
.
—
Reply to this email directly, view it on GitHub
<#3167 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AG6KEUOQVR2JJRELFQOZD73WIZ3IBANCNFSM6AAAAAASDDG55Q>
.
You are receiving this because you were mentioned.Message ID:
***@***.***>
|
It does not work for wildcards e.g. EDIT: |
Maybe this should be documented more prominently, as the 2x TXT records seems to be tripping up a lot of people (like #3164 (comment) for example). |
I've upgraded from 0.8 to 0.13 and my Route53 HostedZone increased from 500 to 750 records. Is there any option to clean old TXT entries? Thanks! |
According to the docs you linked:
That's not what it's doing for me. Every time external-dns runs, it not only creates For records under |
so how do we remove the old style dns records? because for now I think it creates both types? |
How can I remove old TXT records, as currently, it is creating 2 TXT records right now due to which we have to reduce the batch size which leads to a delay in the creation of route53 records. |
For us it caused a zone to hit the limit that Cloudflare has of 1000 records, so now we might need to buy a bigger plan. Not fun at all. |
The Kubernetes project currently lacks enough contributors to adequately respond to all issues. This bot triages un-triaged issues according to the following rules:
You can:
Please send feedback to sig-contributor-experience at kubernetes/community. /lifecycle stale |
It has been over 6 months. Maybe it's time to get rid of the legacy registry format? /remove-lifecycle stale |
It has been one year and ExternalDNS is still creating two records for absolutely no reason. |
Same issue described by @darkpixel happens in our use case. |
The Kubernetes project currently lacks enough contributors to adequately respond to all issues. This bot triages un-triaged issues according to the following rules:
You can:
Please send feedback to sig-contributor-experience at kubernetes/community. /lifecycle stale |
Go away stalebot. |
Maybe we can contribute by writing an anti-stale bot. /remove-lifecycle stale |
seems due some bug or feature we can have just one TXT record in v0.14.0 when encryption is enabled.
|
The Kubernetes project currently lacks enough contributors to adequately respond to all issues. This bot triages un-triaged issues according to the following rules:
You can:
Please send feedback to sig-contributor-experience at kubernetes/community. /lifecycle stale |
/remove-lifecycle stale |
We are also experiencing the zone record limit issue because of this. One question I want to ask is, why the registry records are not stored where the Domain name is NS.external-dns and value of the TXT record is the domains that are managed by this deployment. This can work well to avoid wastage of the records. The 255 char limit of a DNS record can be handled by using multiple such records Was this idea considered before? Is considered and not used, can you anyone point out what was the issue there? An alternative approach will be to store the data inside the cluster in a configmap and then store id of that configmap in a txt record. That can be even better in terms of metadata storage. Was this idea considered before? |
Like @prog76 mentioned here #3167 (comment) I tested few latest versions with encryption enabled and I can confirm its creating only one TXT record which is new format. I checked the code and looks like old records will not be created when TXT encryption is enabled. Line 217 in 4da484b
|
The Kubernetes project currently lacks enough contributors to adequately respond to all issues. This bot triages un-triaged issues according to the following rules:
You can:
Please send feedback to sig-contributor-experience at kubernetes/community. /lifecycle stale |
/remove-lifecycle stale ... |
/assign |
What happened:
When external-dns creates records now, it creates 2 TXT records instead of 1. Each record has the same txt-prefix however the other one has an a at the end e.g.
txt-prefix-example.com
txt-prefixa-example.com
Environment:
external-dns --version
): v0.13.1external-dns --metrics-address=:7979 --log-level=warning --log-format=json --policy=sync --provider=google --registry=txt --interval=1m --txt-prefix=gke-infra --source=service --source=ingress --google-project=dns --google-batch-change-size=1000
The text was updated successfully, but these errors were encountered: