Pardon my potentially dumb question, but how do the shorter DB names get resolved?

I have python code that looks like this:

conn = mysqldb.connect(host="enwiki.labsdb", db="enwiki_p", read_default_file="~/replica.my.cnf")

How does enwiki.labsdb get resolved to, I am assuming, enwiki.web.db.svc.wikimedia.cloud and will this stop working on April 28th?



On Tue, Mar 30, 2021 at 2:25 PM Joaquin Oltra Hernandez <jhernandez@wikimedia.org> wrote:
This is a reminder of the timeline dates shared on March 12, 

In two weeks -April 15- the old cluster will migrate to utilize new replication hosts, at which point replication may stop.

In ~four weeks -April 28- the old hostnames will be redirected to the new cluster.

If you can, please test your code works with the new cluster before the redirects are in place.
For questions and support reach out to #wikimedia-cloud on freenode IRC or email cloud@lists.wikimedia.org
--
Joaquin Oltra Hernandez
Developer Advocate - Wikimedia Foundation
_______________________________________________
Wikimedia Cloud Services announce mailing list
Cloud-announce@lists.wikimedia.org (formerly labs-announce@lists.wikimedia.org)
https://lists.wikimedia.org/mailman/listinfo/cloud-announce
_______________________________________________
Wikimedia Cloud Services mailing list
Cloud@lists.wikimedia.org (formerly labs-l@lists.wikimedia.org)
https://lists.wikimedia.org/mailman/listinfo/cloud