Service Location (SRV) Resource Records

Friday, October 28, 2011

DNS servers must provide support for Service Location (SRV) resource records described in RFC 2052 in order for Active Directory to function properly.  SRV resource records map the name of a service to the name of a server offering that service. Active Directory clients and domain controllers use SRV records to locate AD related services as well as other functions. Additional, SRV resource records can be used to locate non-AD services and applications.

Here is an example of a SRV Resource Record., 600 IN SRV 0 100 389

The SRV Record Components

Service_ldapThe name of the service.
Protocol_tcpThe protocol used for this service.
Nameanitkb.comThe domain name that this record refers to.
TTL600The time-to-live in seconds.
ClassINThe standard DNS Internet class.
Resource RecordSRVIdentifies the record as SRV.
Priority0Identifies the priority. If multiple records exist, the client will connect using the record with the lowest value.
Weight100A load-balancing mechanism used when multiple records exist with the same priority; the clients choose the record with the higher weight value.
Port389The port used by this service.
TargetSERVER1.anitkb.comThe host that provides the service.

In this example, the information in this record states that is a client is searching for a LDAP server in the domain, the client should connect to The next step for the client is to do a DNS lookup for, unless it already has this information stored in its DNS cache.

Did you find the page informational and useful? Share it using one of your favorite social sites.

Recommended Books & Training Resources

Windows Server 2008 R2 Unleashed MCITP Windows Server 2008 Enterprise Administrator: Training Kit 4-Pack: Exams 70-640 70-642 70-643 70-647