---
apiVersion: externaldns.k8s.io/v1alpha1
kind: DNSEndpoint
metadata:
  name: wildduck-mx
spec:
  endpoints:
  - dnsName: k-space.ee
    recordTTL: 300
    recordType: MX
    targets:
      - "10 mail.k-space.ee"
  - dnsName: k-space.ee
    recordTTL: 300
    recordType: TXT
    targets:
      - "v=spf1 mx include:servers.mcsv.net -all"