i learned something new by breaking something. it turns out wildcard A and AAAA ...

@palomakop@merveilles.town

i learned something new by breaking something. it turns out wildcard A and AAAA domains (*.mydomain.tld) ONLY resolve for subdomains where there are no other records (none at all) on that subdomain.

i had my nextcloud on a subdomain (let's say nextcloud.mydomain.tld) and it worked fine with just the wildcard.

then (a year later??) i was tidying up my email hygiene and added a TXT record on nextcloud.mydomain.tld (for SPF).

but the side effect: *.mydomain.tld (my wildcard A and AAAA records) no longer resolve for that subdomain.

i didn't notice until a few days later, and then it took me some time to make the connection to adding the TXT record; at first i thought my nextcloud instance just died or something. the fix was to add an explicit A and AAAA record for that subdomain. very confused for a while but at least i learned a new thing