[GODRIVER-1476] mongodb+srv doesn't work with a fully qualified DNS name Created: 27/Jan/20 Updated: 28/Oct/23 Resolved: 29/Jan/20 |
|
| Status: | Closed |
| Project: | Go Driver |
| Component/s: | None |
| Affects Version/s: | 1.1.4 |
| Fix Version/s: | 1.3.0 |
| Type: | Bug | Priority: | Major - P3 |
| Reporter: | Wesley Spikes | Assignee: | Unassigned |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Description |
|
A DNS name is fully qualified if the name ends with a dot. We expected that a fully qualified DNS name would work with mongo-go-driver, in the same way that an unqualified name would:
Unfortunately, we get an error in this case:
The SRV record is indeed valid:
And the driver does otherwise work if we drop the trailing dot. |
| Comments |
| Comment by Divjot Arora (Inactive) [ 29/Jan/20 ] |
|
Closing as the user PR has been merged. |
| Comment by Githook User [ 29/Jan/20 ] |
|
Author: {'username': 'SpikesDivZero', 'name': 'Spikes', 'email': 'wesley.spikes@gmail.com'}Message: |
| Comment by Wesley Spikes [ 27/Jan/20 ] |
|
PR for consideration: https://github.com/mongodb/mongo-go-driver/pull/285 |