When using Microsoft services, domain verification is required, and one of the items is the SRV record.
After searching for tutorials, I successfully configured it, and I'm recording it here.
A. The format for the host record is: service name.protocol type
For example: _sip._tcp
B. The record type is SRV
C. Line type (default is required, otherwise some users may not be able to resolve)
D. The record value format is: priority weight port hostname
For example: 100 1 443 sipserver.example.com.
Separated by spaces, the record will automatically append a “.” to the domain name after generation.
E. MX priority does not need to be filled in, the default is fine
F. TTL does not need to be filled in, the system will automatically generate it when adding, defaulting to 600 seconds
(TTL is the cache time; the smaller the value, the faster the modification record takes effect in various locations)