external-dns icon indicating copy to clipboard operation
external-dns copied to clipboard

Wildcard domain can't be excluded

Open GitHanter opened this issue 1 year ago • 1 comments

What happened: time="2024-09-22T14:36:23Z" level=info msg="add *.xxx.com IN A -> 192.168.1.220" time="2024-09-22T14:36:23Z" level=fatal msg="Failed to do run once: Domain '*.xxx.com' is not valid"

What you expected to happen:

Provide configuration option to exclude wildcard domains.

How to reproduce it (as minimally and precisely as possible):

I installed external-dns by Helm, configured with source ingress, when I try to create a ingress with TLS certificate domain name *.xxx.com and a certificate issuer with DNS-01 resolver, host is my-ingress.xxx.com, external-dns try to call Pihole API to create an A record for *.xxx.com, which throws the error and external-dns turn to CrashLoopBackOff

Anything else we need to know?:

Environment:

  • External-DNS version (use 0.15.0):
  • DNS provider: PiHole
  • Others:

GitHanter avatar Sep 22 '24 15:09 GitHanter

Oh.. For this issue, we have another ticket #4621

GitHanter avatar Sep 25 '24 06:09 GitHanter

Fixed with https://github.com/kubernetes-sigs/external-dns/pull/4904 /close

GitHanter avatar Dec 18 '24 06:12 GitHanter

@GitHanter: Closing this issue.

In response to this:

Fixed with https://github.com/kubernetes-sigs/external-dns/pull/4904 /close

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository.

k8s-ci-robot avatar Dec 18 '24 06:12 k8s-ci-robot