Skip to content
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

GKE & Cloud DNS "No matching zone warning for record" messages for all root/apex domains #2971

Closed
thomascooper opened this issue Aug 22, 2022 · 8 comments
Labels
kind/bug Categorizes issue or PR as related to a bug. lifecycle/rotten Denotes an issue or PR that has aged beyond stale and will be auto-closed. priority/backlog Higher priority than priority/awaiting-more-evidence.

Comments

@thomascooper
Copy link

What happened: When using External-DNS 0.12.2 all A records and TXT records are created appropriately for subdomains (A record, matching TXT record, and a-[subdmain] TXT record). For a apex/root domain everything is created by the a-[root/apex domain] cannot be created, and every few minutes the pod logs spit out a warning for every single root/apex domain I have provisioned/configured.

What you expected to happen: I expect the system not log the warnings for a-[root/apex] domains, since that is never a possibility. We are migrating 10,000 zones over to external-dns managed, this would trigger 10,000+ erroneous logs every couple of minutes.

How to reproduce it (as minimally and precisely as possible): Deploy any root/apex domain

Anything else we need to know?: This did not appear to be an issue with 0.11 as I never saw these warning or the [type]-[subdomain] TXT records.

Environment:

  • External-DNS version (use external-dns --version): 0.12.2
  • DNS provider: GCP Google Cloud DNS
  • Others: GKE Autopilot 1.21 Cluster
@thomascooper thomascooper added the kind/bug Categorizes issue or PR as related to a bug. label Aug 22, 2022
@thomascooper thomascooper changed the title GKE & Cloud DNS No matching zone warning for record messages for root/apex domains GKE & Cloud DNS "No matching zone warning for record" messages for root/apex domains Aug 22, 2022
@thomascooper thomascooper changed the title GKE & Cloud DNS "No matching zone warning for record" messages for root/apex domains GKE & Cloud DNS "No matching zone warning for record" messages for all root/apex domains Aug 22, 2022
@dpoetzsch
Copy link

dpoetzsch commented Oct 6, 2022

I can confirm this problem in 0.12.2 on GKE.

We have a zone for customer.example.com on GKE (actual domain redacted).

external-dns successfully creates all three records for domains below this zone, like sub.customer.example.com.

However, for customer.example.com only the A and TXT record is created, but not the a-customer.example.com record. The following message is repeated in the logs:

time="2022-10-06T17:17:03Z" level=warning msg="No matching zone for record addition: a-customer.example.com. TXT [\"heritage=external-dns,external-dns/owner=example-app,external-dns/resource=ingress/live/example-app-live-frontend-customer\"] 300"

I am not sure but think this might be a similar problem as described in #449 (comment)

@eyvind
Copy link

eyvind commented Dec 21, 2022

Why isn't the record type prepended to the existing --txt-prefix? It looks like I now have to modify --txt-prefix to add %{record_type}, but that seems like it would break the existing registry because the txt record prefix is different.

@k8s-triage-robot
Copy link

The Kubernetes project currently lacks enough contributors to adequately respond to all issues.

This bot triages un-triaged issues according to the following rules:

  • After 90d of inactivity, lifecycle/stale is applied
  • After 30d of inactivity since lifecycle/stale was applied, lifecycle/rotten is applied
  • After 30d of inactivity since lifecycle/rotten was applied, the issue is closed

You can:

  • Mark this issue as fresh with /remove-lifecycle stale
  • Close this issue with /close
  • Offer to help out with Issue Triage

Please send feedback to sig-contributor-experience at kubernetes/community.

/lifecycle stale

@k8s-ci-robot k8s-ci-robot added the lifecycle/stale Denotes an issue or PR has remained open with no activity and has become stale. label Mar 21, 2023
@k8s-triage-robot
Copy link

The Kubernetes project currently lacks enough active contributors to adequately respond to all issues.

This bot triages un-triaged issues according to the following rules:

  • After 90d of inactivity, lifecycle/stale is applied
  • After 30d of inactivity since lifecycle/stale was applied, lifecycle/rotten is applied
  • After 30d of inactivity since lifecycle/rotten was applied, the issue is closed

You can:

  • Mark this issue as fresh with /remove-lifecycle rotten
  • Close this issue with /close
  • Offer to help out with Issue Triage

Please send feedback to sig-contributor-experience at kubernetes/community.

/lifecycle rotten

@k8s-ci-robot k8s-ci-robot added lifecycle/rotten Denotes an issue or PR that has aged beyond stale and will be auto-closed. and removed lifecycle/stale Denotes an issue or PR has remained open with no activity and has become stale. labels Apr 20, 2023
@szuecs szuecs added priority/backlog Higher priority than priority/awaiting-more-evidence. and removed lifecycle/rotten Denotes an issue or PR that has aged beyond stale and will be auto-closed. labels Apr 20, 2023
eyvind added a commit to cognitedata/external-dns that referenced this issue May 26, 2023
If there is no record type template in either of the affixes, the record
type should be prepended to the prefix instead of to the domain name.
@k8s-triage-robot
Copy link

The Kubernetes project currently lacks enough contributors to adequately respond to all issues.

This bot triages un-triaged issues according to the following rules:

  • After 90d of inactivity, lifecycle/stale is applied
  • After 30d of inactivity since lifecycle/stale was applied, lifecycle/rotten is applied
  • After 30d of inactivity since lifecycle/rotten was applied, the issue is closed

You can:

  • Mark this issue as fresh with /remove-lifecycle stale
  • Close this issue with /close
  • Offer to help out with Issue Triage

Please send feedback to sig-contributor-experience at kubernetes/community.

/lifecycle stale

@k8s-ci-robot k8s-ci-robot added the lifecycle/stale Denotes an issue or PR has remained open with no activity and has become stale. label Jul 19, 2023
@k8s-triage-robot
Copy link

The Kubernetes project currently lacks enough active contributors to adequately respond to all issues.

This bot triages un-triaged issues according to the following rules:

  • After 90d of inactivity, lifecycle/stale is applied
  • After 30d of inactivity since lifecycle/stale was applied, lifecycle/rotten is applied
  • After 30d of inactivity since lifecycle/rotten was applied, the issue is closed

You can:

  • Mark this issue as fresh with /remove-lifecycle rotten
  • Close this issue with /close
  • Offer to help out with Issue Triage

Please send feedback to sig-contributor-experience at kubernetes/community.

/lifecycle rotten

@k8s-ci-robot k8s-ci-robot added lifecycle/rotten Denotes an issue or PR that has aged beyond stale and will be auto-closed. and removed lifecycle/stale Denotes an issue or PR has remained open with no activity and has become stale. labels Jan 20, 2024
@k8s-triage-robot
Copy link

The Kubernetes project currently lacks enough active contributors to adequately respond to all issues and PRs.

This bot triages issues according to the following rules:

  • After 90d of inactivity, lifecycle/stale is applied
  • After 30d of inactivity since lifecycle/stale was applied, lifecycle/rotten is applied
  • After 30d of inactivity since lifecycle/rotten was applied, the issue is closed

You can:

  • Reopen this issue with /reopen
  • Mark this issue as fresh with /remove-lifecycle rotten
  • Offer to help out with Issue Triage

Please send feedback to sig-contributor-experience at kubernetes/community.

/close not-planned

@k8s-ci-robot
Copy link
Contributor

@k8s-triage-robot: Closing this issue, marking it as "Not Planned".

In response to this:

The Kubernetes project currently lacks enough active contributors to adequately respond to all issues and PRs.

This bot triages issues according to the following rules:

  • After 90d of inactivity, lifecycle/stale is applied
  • After 30d of inactivity since lifecycle/stale was applied, lifecycle/rotten is applied
  • After 30d of inactivity since lifecycle/rotten was applied, the issue is closed

You can:

  • Reopen this issue with /reopen
  • Mark this issue as fresh with /remove-lifecycle rotten
  • Offer to help out with Issue Triage

Please send feedback to sig-contributor-experience at kubernetes/community.

/close not-planned

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/test-infra repository.

@k8s-ci-robot k8s-ci-robot closed this as not planned Won't fix, can't repro, duplicate, stale Feb 19, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/bug Categorizes issue or PR as related to a bug. lifecycle/rotten Denotes an issue or PR that has aged beyond stale and will be auto-closed. priority/backlog Higher priority than priority/awaiting-more-evidence.
Projects
None yet
Development

No branches or pull requests

6 participants