Skip to content

DNS record comment exceeds max length error #168

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

Open
jwojnarowicz opened this issue Jan 19, 2025 · 3 comments · May be fixed by #191
Open

DNS record comment exceeds max length error #168

jwojnarowicz opened this issue Jan 19, 2025 · 3 comments · May be fixed by #191

Comments

@jwojnarowicz
Copy link

Hi,
I have installed the controller using helm-chart.
Version: 0.0.16
OS: Ubuntu 22.04 on Oracle ARM / k3s

Seems like the comment is too long for Cloudflare API and results in an error and CNAME is not added, I have added it manually through Dashboard and everything works fine except automated CNAME creation.

Mentioned log line from cloudflare-tunnel-ingress-controller pod:

2025/01/19 20:27:32 controller-runtime: "caller"={"file"="controller.go" "line"=316} "msg"="Reconciler error" "error"="put exposures: update DNS CNAME record: update DNS CNAME record for zone [REDACTED]: create DNS record for zone REDACTED.com, hostname REDACTED.com: DNS record comment exceeds the maximum length of 100 characters. (9313)" "controller"="ingress" "controllerGroup"="networking.k8s.io" "controllerKind"="Ingress" "Ingress"={"name"="nginx-via-cf-tunnel" "namespace"="default"} "namespace"="default" "name"="nginx-via-cf-tunnel" "reconcileID"="2f85a5f1-93a2-4052-94e2-9f1ef481b8b5"

Anyways shoutout for the good work,
I have just realised that I remember your name from Chaos Mesh repo! 😄

@jingyuanliang
Copy link
Contributor

Did you put in a super long tunnelName (>30 chars)?

@STRRL
Copy link
Owner

STRRL commented Feb 10, 2025

Hi @jwojnarowicz , this controller use the comment field to store some states, I am considering migrating to use txt records

@STRRL
Copy link
Owner

STRRL commented Feb 10, 2025

BTW, thanks for your engagement with Chaos Mesh <3

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