Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -283,6 +283,9 @@ In the future we could consider using the priority and weight fields of the SRV

## ChangeLog

- 2025-04-22: Add test for SRV hostname validation when resolver and resolved hostnames are identical with three domain
levels.

- 2024-09-24: Removed requirement for URI to have three '.' separated parts; these SRVs have stricter parent domain
matching requirements for security. Create terminology section. Remove usage of term `{TLD}`. The `{hostname}` now
refers to the entire hostname, not just the `{subdomain}`.
Expand Down
5 changes: 5 additions & 0 deletions source/initial-dns-seedlist-discovery/tests/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,11 @@ For this test, run each of the following cases:
- the SRV `mongodb+srv://mongo.local` resolving to `test_1.my_hostmongo.local`
- the SRV `mongodb+srv://blogs.mongodb.com` resolving to `cluster.testmongodb.com`

### 5. Do not throw when return address is identical to SRV hostname and SRV hostname has three or more `.` separated parts

- the SRV `mongodb+srv://build.10gen.cc` resolving to `build.10gen.cc`
- the SRV `mongodb+srv://test.build.10gen.cc` resolving to `test.build.10gen.cc`

## Test Setup

The tests in the `replica-set` directory MUST be executed against a three-node replica set on localhost ports 27017,
Expand Down
Loading