-
Type:
Bug
-
Resolution: Works as Designed
-
Priority:
Major - P3
-
None
-
Affects Version/s: None
-
Component/s: libmongoc
-
None
-
None
-
None
-
None
-
None
-
None
-
None
-
None
When looking up the TXT record, mongo-c-driver does not follow CNAME records. Is this intentional or overlooked? For example I have the following CNAME:
CNAME mongo.opencpu.org -> cluster0-84vdt.mongodb.net
However connecting to mongodb+srv://cluster0-84vdt.mongodb.net/test does not work. Manually looking up the TXT record with dig or host works fine:
host -t txt mongo.opencpu.org mongo.opencpu.org is an alias for cluster0-84vdt.mongodb.net. cluster0-84vdt.mongodb.net descriptive text "authSource=admin&replicaSet=Cluster0-shard-0"