Whenever you deploy an Ingress resource, external-dns
is responsible for creating the matching DNS record. We have now enabled the “CRD” feature of this component, which allows you to manage any DNS records of your choice through external-dns
.
For example if you want to create an A record pointing to an EC2 instance:
apiVersion: externaldns.k8s.io/v1alpha1
kind: DNSEndpoint
metadata:
name: my-ec2-example
spec:
endpoints:
- dnsName: foo.ec2.bar.com
recordTTL: 180
recordType: A
targets:
- 192.168.1.123
This feature is being rolled out to all clusters.