There are several tools that can be used to configure SRV records for an LDAP server. Here are the steps required to configure SRV records using three different tools:
1. Windows Server DNS Manager:
- Open DNS Manager from the Windows Server
- Expand the server and select the Forward Lookup Zones folder where the DNS zone is located
- Right-click on the zone and select the option “Other New Records“
- Choose “Service Location (SRV)” from the list and click “Create Record“
- In the Service, Protocol, and Port fields, enter the following information:
Service: \_ldap
Protocol: \_tcp
Port Number: 389
- In the Host offering this service field, enter the fully qualified domain name (FQDN) of the LDAP server.
- Save the changes.
1. BIND DNS Server:
- Open the BIND DNS configuration file in a text editor
- Add the following lines to the file:
_ldap._tcp SRV 0 0 389 FQDN_of_LDAP\_server.
- Save the file and reload the DNS server to apply the changes.
1. Azure DNS:
- Open the Azure portal and navigate to the DNS zone where the SRV record will be created
- Click on “Add Record Set” and select “SRV” from the list
- In the “Service” field, enter “\_ldap“
- In the “Protocol” field, enter “\_tcp“
- In the “Port” field, enter “389“
- In the “Target Domain Name” field, enter the FQDN of the LDAP server
- Set the TTL value and click “Create” to save the changes.