I’m wondering if anyone has tried a setup where they configure the DNS record for one domain such that every subdomain of that domain works with yunohost, without further modification?
could all be subdomains to be used with yunohost. I would still need to add each subdomain as a “domain” through the yunohost interface, but such that no further DNS modifications would be necessary.
currently, I create a new bind9 configuration for each new subdomain for each new app, using a small script to copy a template… but maybe there is some way to make this unnecessary?
in particular as I help setup non-technical users, it seems like such a configuration could be useful
This is something I am also interested on.
For each subdomain I need to go and create two entries on my DNS provider:
A record, pointing to my server IP
AAA record, pointing to my IPV6 server IP
The funny thing is that, I add values for a subdomain, an then the sub-sub domain of that name (which is what I want) also works.
So, I have my domain like yuno.mydomain.com, and I want to create xxx.yuno.mydomain.com then I need to ad two A and AAA records for xxx in my DNS provider, and then both xxx.mydomain.com and xxx.yuno.mydomain.com will work.
So, one year later here we are again.
Will love to know if anyone has an answer to this question, because it is a bit cumbersome to manage several subdomains every time I want to add an app or two
As far as I know, just add a wildcard (*) A / AAAA record on the top domain (if I remember correctly, this is recommended by YunoHost’s proposed DNS conf) and you won’t have to configure an A / AAAA record for every subdomain …
A and AAAA records are one thing, but YunoHost Diagnose will also nag me about CAA, SPF, DKIM, and DMARC records. Will a wildcard approach work here too to make those warnings go away? Could it cause problems with other subdomains that do not point to my YunoHost server?