Score:-1

Deleting subdomain A record with wildcard record in place

cn flag

I have an A record sub.example.com and another record *.example.com

If I delete sub.example.com A record, will there be any resolution issues if they both point to the same IP address?

I am migrating subdomain records to use wildcard and I want to make sure there is no interruption when I delete sub.example.com

Score:1
cn flag

If you have both sub.example.com and *.example.com, per design of the DNS the wildcard kicks into use only for records NOT being sub.example.com.

Once you delete sub.example.com, the wildcard will then match all records, including sub.example.com (after the TTLs have lapsed, but irrelevant if both records in fact have the exact same data anyway).

cn flag
There will be no lapse in dns records being responded to correct?
John Hanley avatar
cn flag
@ChrisMuench Research what DNS TTL (Time-To-Live) means for DNS resource records. The old value will be cached by DNS servers until the TTL expires.
cn flag
But the subdomain will always be availalbe with TTL of 300 on both wildcard and subdomain records?
Patrick Mevzek avatar
cn flag
@ChrisMuench I don't understand your question. Is there a response to `sub.example.com` because of direct record or wildcard? If yes, then the record will resolve. If no, then it doesn't.
mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.