Skip to content

AWS NLB in dual-stack does not create AAAA record #3707

@TomBillietKlarrio

Description

@TomBillietKlarrio

When creating an AWS Network-load-balancer in dual-stack mode, external-dns does not create a AAAA record in route53. It works perfectly fine in the same setup with an ALB

What happened: Only an A record is created

What you expected to happen: an AAAA record to be created

How to reproduce it (as minimally and precisely as possible):
Deploy the following service:

apiVersion: v1
kind: Service
metadata:
  namespace: default
  name: nlb-sample-service
  annotations:
    service.beta.kubernetes.io/aws-load-balancer-type: external
    service.beta.kubernetes.io/aws-load-balancer-nlb-target-type: ip
    service.beta.kubernetes.io/aws-load-balancer-scheme: internet-facing
    external-dns.alpha.kubernetes.io/hostname: my.host.example.com
    service.beta.kubernetes.io/aws-load-balancer-ip-address-type: dualstack
spec:
  ports:
    - name: http
      port: 80
      targetPort: 80
      protocol: TCP
    - name: https
      port: 443
      targetPort: 80
      protocol: TCP
  type: LoadBalancer
  selector:
    app: nginx

Anything else we need to know?:

Environment:

  • External-DNS version (use external-dns --version): 0.13.5
  • DNS provider: AWS-route53

Metadata

Metadata

Assignees

No one assigned

    Labels

    kind/bugCategorizes issue or PR as related to a bug.lifecycle/rottenDenotes an issue or PR that has aged beyond stale and will be auto-closed.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions