diff --git a/README.md b/README.md index ee8655f..2e93400 100644 --- a/README.md +++ b/README.md @@ -10,7 +10,7 @@ mxisd is currently in read-only mode and use a priority lookup strategy with sev Given the 3PID `john.doe@example.org`, the following would be performed in priority order until a mapping is found: - LDAP: lookup the Matrix ID from a configurable attribute. - DNS: lookup another Identity Server using the domain part of an e-mail and: - - Look for a SRV record under `_identity._matrix._tcp.example.org` + - Look for a SRV record under `_matrix-identity._tcp.example.org` - Lookup using the base domain name `example.org` - Forwarder: Proxy the request to other identity servers (`matrix.org` and `vector.im` currently hardcoded). diff --git a/src/main/groovy/io/kamax/mxisd/lookup/DnsLookupProvider.groovy b/src/main/groovy/io/kamax/mxisd/lookup/DnsLookupProvider.groovy index ce04990..ee3b8d4 100644 --- a/src/main/groovy/io/kamax/mxisd/lookup/DnsLookupProvider.groovy +++ b/src/main/groovy/io/kamax/mxisd/lookup/DnsLookupProvider.groovy @@ -50,7 +50,7 @@ class DnsLookupProvider extends RemoteIdentityServerProvider { log.info("Domain name for {}: {}", threePid, domain) log.info("Performing SRV lookup") - String lookupDns = "_identity._matrix._tcp." + domain + String lookupDns = "_matrix-identity._tcp." + domain log.info("Lookup name: {}", lookupDns) SRVRecord[] records = (SRVRecord[]) new Lookup(lookupDns, Type.SRV).run()