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

Can't combine domains and subdomain hostnames #710

Closed
PurpleBooth opened this issue Sep 17, 2018 · 1 comment
Closed

Can't combine domains and subdomain hostnames #710

PurpleBooth opened this issue Sep 17, 2018 · 1 comment

Comments

@PurpleBooth
Copy link

PurpleBooth commented Sep 17, 2018

To replicate

apiVersion: v1
kind: Service
metadata:
  annotations:
    external-dns.alpha.kubernetes.io/hostname: '*.solace-system.net.,www.purplebooth.co.uk.,purplebooth.co.uk.'

Expected

All hosts to correctly resolve to the same IP.

Actual

Only the wildcard domain is configured

time="2018-09-17T22:16:44Z" level=info msg="Change zone: solace-system-net"
time="2018-09-17T22:16:44Z" level=info msg="Del records: a.solace-system.net. A [35.197.240.140] 300"
time="2018-09-17T22:16:44Z" level=info msg="Del records: a.solace-system.net. TXT [\"heritage=external-dns,external-dns/owner=siQueeSeid2fi5eo2iem,external-dns/resource=service/istio-system/knative-ingressgateway\"] 300"
time="2018-09-17T22:16:44Z" level=info msg="Add records: *.solace-system.net. A [35.197.240.140] 300"
time="2018-09-17T22:16:44Z" level=info msg="Add records: *.solace-system.net. TXT [\"heritage=external-dns,external-dns/owner=siQueeSeid2fi5eo2iem,external-dns/resource=service/istio-system/knative-ingressgateway\"] 300"
time="2018-09-17T22:16:44Z" level=info msg="Change zone: purplebooth-co-uk"
time="2018-09-17T22:16:44Z" level=info msg="Del records: b.purplebooth.co.uk. A [35.197.240.140] 300"
time="2018-09-17T22:16:44Z" level=info msg="Del records: c.purplebooth.co.uk. A [35.197.240.140] 300"
time="2018-09-17T22:16:44Z" level=info msg="Del records: b.purplebooth.co.uk. TXT [\"heritage=external-dns,external-dns/owner=siQueeSeid2fi5eo2iem,external-dns/resource=service/istio-system/knative-ingressgateway\"] 300"
time="2018-09-17T22:16:44Z" level=info msg="Del records: c.purplebooth.co.uk. TXT [\"heritage=external-dns,external-dns/owner=siQueeSeid2fi5eo2iem,external-dns/resource=service/istio-system/knative-ingressgateway\"] 300"
time="2018-09-17T22:17:44Z" level=info msg="All records are already up to date"

Note

Non-wildcard domains work fine, for example

apiVersion: v1
kind: Service
metadata:
  annotations:
    external-dns.alpha.kubernetes.io/hostname: 'a.solace-system.net.,b.purplebooth.co.uk.,c.purplebooth.co.uk.'

is configured as expected

Provider: google cloud dns

@PurpleBooth PurpleBooth changed the title Can't combine wildcard and specific hosts Can't combine domains and subdomains hosts Sep 18, 2018
@PurpleBooth PurpleBooth changed the title Can't combine domains and subdomains hosts Can't combine domains and subdomain hostnames Sep 18, 2018
@PurpleBooth
Copy link
Author

PurpleBooth commented Sep 18, 2018

I'm going to close this issue

The problem was that I have txt records on the "A" for "purplebooth.co.uk" (#449)

lou-lan pushed a commit to lou-lan/external-dns that referenced this issue May 11, 2022
* Update dependencies

* Switch to k8s.io/klog/v2
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant