-
Notifications
You must be signed in to change notification settings - Fork 2.8k
Open
Labels
kind/bugCategorizes issue or PR as related to a bug.Categorizes issue or PR as related to a bug.
Description
Hi, I'm getting all the time such error when creating IngressRoute:
time="2025-12-11T14:50:06Z" level=info msg="Applying provider record filter for domains: [loc. .loc. svc.loc. .svc.loc.]"
time="2025-12-11T14:50:07Z" level=info msg="Desired change: CREATE cname-whoami.loc TXT [Id: /hostedzone/112223334444]"
time="2025-12-11T14:50:07Z" level=info msg="Desired change: CREATE whoami.loc CNAME [Id: /hostedzone/112223334444]"
time="2025-12-11T14:50:07Z" level=info msg="Desired change: CREATE whoami.loc TXT [Id: /hostedzone/112223334444]"
time="2025-12-11T14:50:07Z" level=error msg="Failure in zone loc. [Id: /hostedzone/112223334444] when submitting change batch: InvalidChangeBatch: [RRSet of type CNAME with DNS name whoami.loc. is not permitted as it creates a CNAME loop in the zone.]\n\tstatus code: 400, request id: e15606e2-be3b-4feb-b931-c6a01e404fd6"
time="2025-12-11T14:50:08Z" level=error msg="Failed to do run once: soft error\nfailed to submit all changes for the following zones
Advises which I found in issues not helped, especially to set txt prefix, futhermore traefik for Ingress source working normally it is something exactly with IngressRoute
Records for such domain are absent!
I'm using external-dns version: v0.14.2
My IngressRoute:
apiVersion: traefik.io/v1alpha1
kind: IngressRoute
metadata:
name: whoami
annotations:
kubernetes.io/ingress.class: traefik-internal
external-dns.alpha.kubernetes.io/target: whoami.loc
spec:
entryPoints:
- web
routes:
- match: Host(`whoami.loc`)
kind: Rule
services:
- name: whoami
port: 80
middlewares:
- name: custom-headers
namespace: default
My helm values:
values: |
domainFilters: ["loc"]
env:
- name: AWS_SHARED_CREDENTIALS_FILE
value: /.aws/credentials
extraVolumeMounts:
- name: aws-credentials
mountPath: /.aws
extraVolumes:
- name: aws-credentials
secret:
secretName: external-dns
provider: aws
interval: "10s"
txtOwnerId: "devops"
extraArgs:
- "--traefik-disable-legacy"
sources:
- service
- ingress
- traefik-proxy
Metadata
Metadata
Assignees
Labels
kind/bugCategorizes issue or PR as related to a bug.Categorizes issue or PR as related to a bug.