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

"A" records created for both, Endpoint and LB IP in Azure Private DNS #4819

Open
makkes opened this issue Oct 18, 2024 · 0 comments
Open

"A" records created for both, Endpoint and LB IP in Azure Private DNS #4819

makkes opened this issue Oct 18, 2024 · 0 comments
Labels
kind/bug Categorizes issue or PR as related to a bug.

Comments

@makkes
Copy link
Member

makkes commented Oct 18, 2024

What happened:

I have a Service with the following manifest:

apiVersion: v1
kind: Service
metadata:
  annotations:
    external-dns.alpha.kubernetes.io/hostname: svc1.prod.domain.internal
    service.beta.kubernetes.io/azure-load-balancer-internal: "true"
status:
  loadBalancer:
    ingress:
    - ip: 10.2.2.7
[...]

Now ExternalDNS creates two A records for "svc1.prod.domain.internal", one for the IP address "10.2.2.7" (which is expected) and another one for the IP address "10.244.0.46" which is the IP address of the underlying Endpoint/Pod.

What you expected to happen:

A single A record pointing to "10.2.2.7" is created for "svc1.prod.domain.internal". No A record is created for the Endpoint IP.

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

see above.

Anything else we need to know?:

Environment:

  • External-DNS version (use external-dns --version): 0.14.0
  • DNS provider: Azure Private DNS
  • Others: Kubernetes 1.29.8
@makkes makkes added the kind/bug Categorizes issue or PR as related to a bug. label Oct 18, 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.
Projects
None yet
Development

No branches or pull requests

1 participant