I’m having this problem where I can’t get the CNAME *.domain.tld working on Mac OSX server 10.8
Let’s set up a new “Primary Zone” with an “A Record”.
That’s great, now we can find the domain by visiting the browser, but how about www.domain.tld?
No can do….
Let’s add a CNAME (or “alias Record”)
Now we can find domain.tld as well as www.domain.tld in the browser.
Now I want to add *.domain.tld so I can find all.these.sub.domains.domain.tld as well, of maybe just dev.domain.tld or test.domain.tld or even www2.domain.tld
De by most people much beloved GUI does not accept the * so I’ll just type “asteriks” in stead and change it in the terminal later.
Let’s dive underwater..
The “GUI” now reflects the zonefile.
I can now find anything.domain.tld, but not for long…
The problem is that periodically or after a service/machine restart, the *.domain.tld CNAME will be undone because Apple does not like it when I change things I’m not supposed to change.
The issue I have with this problem is that *.domain.tld is widely accepted in Bind/DNS systems *except* for Mac OSX server.